Page 1 of 1

Convert psd "maximum channels exceeded"

Posted: 2018-10-02T01:57:30-07:00
by lugiber
I'm trying to convert a psd to a tiff with this command:

Code: Select all

convert -flatten 90506-35_7681.psd 90506-35_7681.tif
And I'm getting this error:

Code: Select all

convert: maximum channels exceeded `90506-35_7681.psd' @ error/psd.c/ReadPSDLayersInternal/1706.
convert: no images defined `90506-35_7681.tif' @ error/convert.c/ConvertImageCommand/3288.
convert --version ouputs this:

Code: Select all

Version: ImageMagick 7.0.8-11 Q16 x86_64 2018-09-14 https://www.imagemagick.org
Copyright: © 1999-2018 ImageMagick Studio LLC
License: https://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP 
Delegates (built-in): bzlib djvu fftw fontconfig freetype jbig jng jpeg lcms lqr lzma openexr pangocairo png tiff wmf x xml zlib
The psd is saved with Photoshop CC2018 and the file works great to convert if I save it as a tif.
You can download the psd here:

http://transfer.turbin.se/d.php?f=90506_35_7681.zip

Please let me know if you have any ideas!

Re: Convert psd "maximum channels exceeded"

Posted: 2018-10-02T08:27:39-07:00
by fmw42
Your syntax is wrong. Read the input before -flatten. Nevertheless, ImageMagick currently cannot read more than one extra channel. It can only read RGB and one Alpha channel.

Re: Convert psd "maximum channels exceeded"

Posted: 2018-10-02T23:46:45-07:00
by lugiber
Thanks so much for your reply!
Just to make sure, when you are writing:

Code: Select all

Nevertheless, ImageMagick currently cannot read more than one extra channel.
I suppose that you mean that only applies to psd files. Because ImageMagick can read the exact same file, with the exact same layers if it's saved as a tif.

Re: Convert psd "maximum channels exceeded"

Posted: 2018-10-03T03:13:07-07:00
by magick
We're using ImageMagick 7.0.8-12. Your image converts for us without complaint.

Re: Convert psd "maximum channels exceeded"

Posted: 2018-10-09T07:20:16-07:00
by lugiber
Thanks @magick!
I compiled ImageMagick 7.0.8-12 and it seems like the problems are fixed since the update!