Page 1 of 1

Unable to decompress image - error/psd.c/ReadPSDChannel/1442 and error/psd.c/ReadPSDImage/2413

Posted: 2019-06-20T04:29:17-07:00
by usemagi
Hi guys, I'm using this command:

Code: Select all

magick 190132LCZ_w200_h-1_GrayScale.psd -verbose
and getting this error:

Code: Select all

magick: unable to decompress image `190132LCZ_w200_h-1_GrayScale.psd' @ error/psd.c/ReadPSDChannel/1442.
Mentioned psd file:
https://drive.google.com/file/d/1hjtvA7 ... sp=sharing

Also when I use Magick.Net I get different error on this PDS file:

Code: Select all

var fi2 = new FileInfo(@"........\190132LCZ_w200_h-1_GrayScale.psd");
IMagickImage image2 = new MagickImage(fi2);
I get

Code: Select all

insufficient image data in file `......\190132LCZ_w200_h-1_GrayScale.psd' @ error/psd.c/ReadPSDImage/2413
Thank you

Re: Unable to decompress image - error/psd.c/ReadPSDChannel/1442 and error/psd.c/ReadPSDImage/2413

Posted: 2019-06-20T05:19:27-07:00
by snibgo
Can other software read that file? If not, then the file has a problem.

Re: Unable to decompress image - error/psd.c/ReadPSDChannel/1442 and error/psd.c/ReadPSDImage/2413

Posted: 2019-06-20T05:40:05-07:00
by usemagi
Krita opened it, but it doesn't look normal. That psd was generated programatically via magick.net. Will try to figure out how it was created