Page 1 of 1

Adjustment layers in IM?

Posted: 2009-04-21T07:35:57-07:00
by deepersee
Hello,
Is it possible to handle Photoshop adjustment layers in IM?
I tried and searched but can't find something useful.

My aim is to handle PSD (or TIF) files with adjustment layers.
For example, if i have a file with one backround layer and 4 adjustment layers,
I want to put out an image (same Image) with backround layer/layer1/layer3 flattet (like Photoshop would be able to do).

Re: Adjustment layers in IM?

Posted: 2009-04-21T11:17:29-07:00
by fmw42
IM can process any layer in the photoshop file or multiple layers. But you will need to specify the layers you want to use. Note that layer 0 will already be the flattened composite of all the other layers. See frames in IM at

http://www.imagemagick.org/Usage/files/#read_mods
http://www.imagemagick.org/Usage/files/#write_seq

I think try something like:

convert image.psd[1,3,5] -background black -flatten resultimage.psd

Re: Adjustment layers in IM?

Posted: 2009-04-22T02:51:44-07:00
by deepersee
Thank you, but I only get results with layers with pixels or fill layers like (Photoshop called:) "solid color" or "gradient" etc.
I testet all adjustment layers (Levels,Curves,Color Balance, Brightness/Contrast, Hue/Saturation, Selective Color etc.) with
C:\Programme\ImageMagick-6.5.1-Q16\convert.exe input.psd[1,2,3...] -background black -flatten output.psd
but no one seems to be recognised/involved from IM.
Could this depend on my system (Windows XP;IM6.5.1-Q16), or on the code, or is it not possible actual?

Re: Adjustment layers in IM?

Posted: 2009-04-22T10:32:33-07:00
by fmw42
Sorry, I did not understand. I don't believe IM understands PS "adjustment" layers, only real color layers. Perhaps one of the IM experts can clarify further.

Re: Adjustment layers in IM?

Posted: 2009-04-22T21:42:13-07:00
by anthony
The IM coder understands some layer 'compose' settings but not all of them. Its efforts to allow some of the layer types to work has in fact complicated the -compose -composite -flatten handling in IM.

Re: Adjustment layers in IM?

Posted: 2009-04-23T03:02:35-07:00
by deepersee
Thank you.
Do you mean IM will understand it in future?
Do anybody have an idea of an allternative program to handle this similar to IM (GIMP can't understand Adj. layers from PS either)?

Re: Adjustment layers in IM?

Posted: 2009-04-23T17:32:28-07:00
by anthony
Gimp has its own 'layering' methods.