Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
I created the following grayscale PSD image with two layers, one for grayscale zelda and one for grayscale lena, on a transparent background. The image looks fine in Photoshop.
When I separate the layers, with the following, I get cyan colored layers. Is this correct? Note there is an error message about out of range tRNS chunk.
fmw42 wrote:Note there is an error message about out of range tRNS chunk.
You can avoid that warning by adding "-type TrueColorMatte". (IM probably tries to write the composite layer as palette+tRNS, fails, and reverts to grayscale+alpha.)
The other error of course stays the same...
Thanks that gets rid of the error message, though I would not think that should be necessary. However, it does not cure the cyan colored frames/layers.
Doing a little testing, it appears that layers 1 and 2 are setting the green and blue channels to full white and keeping the red slightly modified, so that the result is cyan. It seems to be similar but not exactly the same as:
convert zelda3.png -channel gb -evaluate set 100% -channel rgb zelda3_tmp.png