diff --git a/libImaging/Crop.c b/libImaging/Crop.c index 0db67e8e9..893cdb5ba 100644 --- a/libImaging/Crop.c +++ b/libImaging/Crop.c @@ -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;