Page 1 of 1

how to close a psd layer use imagemagick?

Posted: 2010-04-28T05:02:13-07:00
by Xiaogui
Hello
I'm using ImageMagick 6.6.1-6.
i have a psd file with many layers,when i convert the psd file to jpg, i want to close some layers first,such as image[0],image[2], who can help me?

thanks.

Re: how to close a psd layer use imagemagick?

Posted: 2010-04-28T09:18:03-07:00
by fmw42
see http://www.imagemagick.org/Usage/basics/#sequence

do you mean remove those pages or keep those pages? You need to specify which pages your want.

convert image.pdf[3-5,7] result.pdf

will keep frames 3,4,5,7 (note frames start at 0)

Re: how to close a psd layer use imagemagick?

Posted: 2010-04-28T19:01:19-07:00
by Xiaogui
fmw42 wrote:see http://www.imagemagick.org/Usage/basics/#sequence

do you mean remove those pages or keep those pages? You need to specify which pages your want.

convert image.pdf[3-5,7] result.pdf

will keep frames 3,4,5,7 (note frames start at 0)
thanks,i will try it.

Re: how to close a psd layer use imagemagick?

Posted: 2010-05-31T01:18:09-07:00
by Xiaogui
when i use this commond "convert aaa.psd -delete 3,4 daaa.jpg" to convert the psd file to jpg,i find that only the layer 0 is a right image of the result layers images

Re: how to close a psd layer use imagemagick?

Posted: 2010-05-31T10:54:45-07:00
by fmw42
jpg does not support layers, so you have to save them as separate file. PDS layer 0 is the layer that has all the other layers flattened into it.