From: Dirk Lemstra Date: Sun, 21 Oct 2018 11:35:30 +0000 (+0200) Subject: Also set the min_channels. X-Git-Tag: 7.0.8-13~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f4c6b0dc1be1801cc993b9c5680f3238767d2d9e;p=imagemagick Also set the min_channels. --- diff --git a/coders/tiff.c b/coders/tiff.c index 633b0d162..2da50712f 100644 --- a/coders/tiff.c +++ b/coders/tiff.c @@ -292,6 +292,7 @@ static void InitPSDInfo(const Image *image, PSDInfo *info) /* Setting the mode to a value that won't change the colorspace */ info->mode=10; info->channels=1U; + info->min_channels=1U; if (image->storage_class == PseudoClass) info->mode=2; /* indexed mode */ else