mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
create dirty images for cropping
This commit is contained in:
parent
19a8649589
commit
eb4096ffd5
|
@ -37,7 +37,7 @@ ImagingCrop(Imaging imIn, int sx0, int sy0, int sx1, int sy1)
|
|||
if (ysize < 0)
|
||||
ysize = 0;
|
||||
|
||||
imOut = ImagingNew(imIn->mode, xsize, ysize);
|
||||
imOut = ImagingNewDirty(imIn->mode, xsize, ysize);
|
||||
if (!imOut)
|
||||
return NULL;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user