Page 1 of 1

Multi-layered transformation

Posted: 2014-11-19T00:26:44-07:00
by Richa Gupta
Hi Team,

I am trying to convert a multi-layered psd file into jpg.

When I use following command, multiple jpg files are created as output.

imconvert "headers.psd" "headers.jpg"

And when i am using following command for conversion-

imconvert "headers.psd" -composite "headers.jpg"

This conversion is creating a single jpg but output is not what is expected. Final image is not as original psd file and some layers are missing.

Please help me in

Re: Multi-layered transformation

Posted: 2014-11-19T00:28:56-07:00
by Richa Gupta
Hi Team,

I am trying to convert a multi-layered psd file into jpg.

When I use following command, multiple jpg files are created as output.

imconvert "headers.psd" "headers.jpg"

And when i am using following command for conversion-

imconvert "headers.psd" -composite "headers.jpg"

This conversion is creating a single jpg but output is not what is expected. Final image is not as original psd file and some layers are missing.

Please help me in finding a solution to create a single transformation for multi layered images.

Thank You.

Richa Gupta

Re: Multi-layered transformation

Posted: 2014-11-19T00:48:33-07:00
by snibgo
Instead of "-composite", try one of the "-layers" options, such as "-layers flatten".

But I have heard that the first image in a PSD is already a flattened version of the rest, so this might work:

Code: Select all

imconvert "headers.psd[0]" "headers.jpg"

Re: Multi-layered transformation

Posted: 2014-11-21T06:35:08-07:00
by Richa Gupta
Hi,

Thanks snibgo. I will try to convert using inputfile#[0] command and also other options with -layers.

I will share the results if they work.

Thanks again.

Richa Gupta