mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +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)
|
||||
y1 = imOut->ysize;
|
||||
|
||||
ImagingCopyInfo(imOut, imIn);
|
||||
|
||||
/* translate all four corners to check if they are within the
|
||||
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
|
||||
generic transform engine in this case? */
|
||||
|
||||
ImagingCopyInfo(imOut, imIn);
|
||||
|
||||
xsize = (int) imIn->xsize;
|
||||
ysize = (int) imIn->ysize;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user