From: dirk Date: Thu, 31 Jul 2014 20:49:41 +0000 (+0000) Subject: Fixed bug when reading 1 bit PSD. X-Git-Tag: 7.0.1-0~2132 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5a4bdff3ecfcfee9bee68738d06e2363caaa4fe8;p=imagemagick Fixed bug when reading 1 bit PSD. --- diff --git a/coders/psd.c b/coders/psd.c index 59fa3d3a2..02838df48 100644 --- a/coders/psd.c +++ b/coders/psd.c @@ -725,6 +725,8 @@ static MagickStatusType ReadPSDChannelPixels(Image *image, q+=GetPixelChannels(image); x++; } + x--; + continue; } } break;