From eb4096ffd5d9a017d495c5f1ff32c537a4ed13b1 Mon Sep 17 00:00:00 2001 From: Alexander Date: Sun, 6 Aug 2017 15:01:17 +0300 Subject: [PATCH] create dirty images for cropping --- libImaging/Crop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;