Commit 167c7e966 for imagemagick.org
commit 167c7e966b904e6f27f65c66752f89e9965308dc
Author: Dirk Lemstra <dirk@lemstra.org>
Date: Tue Apr 28 21:49:41 2026 +0200
Corrected the return value for PSD image with a color map.
diff --git a/coders/psd.c b/coders/psd.c
index baef9f13e..8de0501f4 100644
--- a/coders/psd.c
+++ b/coders/psd.c
@@ -1580,7 +1580,7 @@ static MagickBooleanType SetPSDMetaChannels(Image *image,const PSDInfo *psd_info
number_meta_channels;
if (image->storage_class == PseudoClass)
- return(MagickFalse);
+ return(MagickTrue);
number_meta_channels=(ssize_t) channels-psd_info->min_channels;
if ((image->alpha_trait & BlendPixelTrait) != 0)
number_meta_channels--;