create dirty images for cropping

This commit is contained in:
Alexander 2017-08-06 15:01:17 +03:00
parent 19a8649589
commit eb4096ffd5

View File

@ -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;