mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-14 11:26:27 +03:00
extra line
This commit is contained in:
parent
3ee407e859
commit
342e6f213b
|
@ -107,15 +107,12 @@ ImagingResampleHorizontal(Imaging imIn, int xsize, struct filter *filterp)
|
||||||
|
|
||||||
/* prepare for horizontal stretch */
|
/* prepare for horizontal stretch */
|
||||||
filterscale = scale = (float) imIn->xsize / xsize;
|
filterscale = scale = (float) imIn->xsize / xsize;
|
||||||
|
|
||||||
/* determine support size (length of resampling filter) */
|
|
||||||
support = filterp->support;
|
|
||||||
|
|
||||||
if (filterscale < 1.0) {
|
if (filterscale < 1.0) {
|
||||||
filterscale = 1.0;
|
filterscale = 1.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
support = support * filterscale;
|
/* determine support size (length of resampling filter) */
|
||||||
|
support = filterp->support * filterscale;
|
||||||
|
|
||||||
/* maximum number of coofs */
|
/* maximum number of coofs */
|
||||||
kmax = (int) ceil(support) * 2 + 1;
|
kmax = (int) ceil(support) * 2 + 1;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user