From 49d5131230821fa4905038be8ac58f1958651557 Mon Sep 17 00:00:00 2001 From: Cristy Date: Fri, 8 Nov 2024 21:50:03 -0500 Subject: [PATCH] adjust scanline pad (https://github.com/ImageMagick/ImageMagick6/issues/333) --- coders/tiff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coders/tiff.c b/coders/tiff.c index c5b4af10e..39d879a30 100644 --- a/coders/tiff.c +++ b/coders/tiff.c @@ -1706,7 +1706,7 @@ static Image *ReadTIFFImage(const ImageInfo *image_info, { quantum_type=RGBAQuantum; pad=(size_t) MagickMax((ssize_t) samples_per_pixel+ - extra_samples-4,0); + extra_samples-5,0); } else {