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

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
usemagi
Posts: 12
Joined: 2019-05-21T01:06:38-07:00
Authentication code: 1152

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

Post 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
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

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

Post by snibgo »

Can other software read that file? If not, then the file has a problem.
snibgo's IM pages: im.snibgo.com
usemagi
Posts: 12
Joined: 2019-05-21T01:06:38-07:00
Authentication code: 1152

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

Post 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
Post Reply