mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-29 09:23:11 +03:00
move ImagingCopyInfo after affine_fixed
This commit is contained in:
parent
9902d2e1c5
commit
bc51928171
|
@ -850,8 +850,6 @@ ImagingTransformAffine(Imaging imOut, Imaging imIn,
|
||||||
if (y1 > imOut->ysize)
|
if (y1 > imOut->ysize)
|
||||||
y1 = imOut->ysize;
|
y1 = imOut->ysize;
|
||||||
|
|
||||||
ImagingCopyInfo(imOut, imIn);
|
|
||||||
|
|
||||||
/* translate all four corners to check if they are within the
|
/* translate all four corners to check if they are within the
|
||||||
range that can be represented by the fixed point arithmetics */
|
range that can be represented by the fixed point arithmetics */
|
||||||
|
|
||||||
|
@ -863,6 +861,8 @@ ImagingTransformAffine(Imaging imOut, Imaging imIn,
|
||||||
following code is used. maybe we should fall back on the slow
|
following code is used. maybe we should fall back on the slow
|
||||||
generic transform engine in this case? */
|
generic transform engine in this case? */
|
||||||
|
|
||||||
|
ImagingCopyInfo(imOut, imIn);
|
||||||
|
|
||||||
xsize = (int) imIn->xsize;
|
xsize = (int) imIn->xsize;
|
||||||
ysize = (int) imIn->ysize;
|
ysize = (int) imIn->ysize;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user