From 2b9cbc8eea143d5cee99e375d70c96b64f7eaf31 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sun, 19 May 2019 13:10:53 -0400 Subject: [PATCH] ... --- coders/tiff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coders/tiff.c b/coders/tiff.c index 1712682269..d9d523564f 100644 --- a/coders/tiff.c +++ b/coders/tiff.c @@ -1788,7 +1788,7 @@ RestoreMSCWarning if (TIFFIsTiled(tiff) != MagickFalse) { method=ReadRGBATileMethod; - if (bits_per_sample > 16) + if (samples_per_pixel == 1) method=ReadTileMethod; } quantum_info->endian=LSBEndian;