Hi guys,
I'm trying to do some operations with PSD files, but Magick.Net failes with exception:
improper image header `.....\Indexed256.psd' @ error/psd.c/ReadPSDImage/2237
Tried with Image Magick CLI regular convert operation and encountering same error.
PSD file
https://drive.google.com/file/d/1pVq4CT ... sp=sharing
File is opening in Photoshop and Gimp just fine.
In some earlier version of Image Magick it processed the file without problems.
Do you have any ideas?
Improper image header. ReadPSDImage/2237
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Improper image header. ReadPSDImage/2237
When I open your file in Photoshop, it does not show individual channels for RGB or CMYK. It only shows a color image. That is wrong. So I suspect that is the cause of the error and your file needs to be created properly.
Re: Improper image header. ReadPSDImage/2237
Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ https://www.imagemagick.org/download/beta/ by sometime tomorrow.
Re: Improper image header. ReadPSDImage/2237
Wow, thank you
Re: Improper image header. ReadPSDImage/2237
Might be a while before this will be fixed in Magick.NET. Could you open an issue on GitHub also so other people know about this problem?