Page 1 of 1
Compositing Layered Photoshop files
Posted: 2012-04-08T00:47:40-07:00
by jmd1
I have a layered PS file with 50 layers. I want to do two things using IM and am not clear how to do this:
1. I want to separate and extract each layer and store them as separate layers. I want to create a thumbnail or preview of each layer. How do I extract each layer such that I can do #2 below?
2. I want to be able to take specific layers (e.g., 1, 3, 10, 25) and composite them into a blended picture as I would in PS (e.g., turn on layers 1, 3, 10, 25 and see the result). Can this be done in PS? If so what is the command?
Thanks for any assistance!
Re: Compositing Layered Photoshop files
Posted: 2012-04-08T01:08:30-07:00
by Bonzo
I have some notes on PSD use with php which can be modified for comand line without to much effort:
http://www.rubblewebs.co.uk/imagemagick/psd.php
Re: Compositing Layered Photoshop files
Posted: 2012-04-08T12:13:21-07:00
by fmw42
convert image.psd image_%20d.png
separate all the layers into individual images
convert image.psd[0,20,25-30,40] -background somecolor -flatten newimage
takes layer 0, 20, 25-30, 40 and flattens them against some background
or
convert image.psd[0,20,25-30,40] newimage.psd
see
http://www.imagemagick.org/script/comma ... kqtq9nte86
http://www.imagemagick.org/Usage/layers/
Re: Compositing Layered Photoshop files
Posted: 2012-04-08T17:10:31-07:00
by anthony
Unix shells may require to quotes around the [..] part, to prevent the shell interpreting that syntax.
Re: Compositing Layered Photoshop files
Posted: 2015-08-03T22:29:15-07:00
by amit1411
Hi jmd,
Came across this question while trying to fix a similar issue. I also have multiple Photoshop layers which blend together to create the final output. Not ale to get through it. Just checking if you got solution to your problem and it would be great if you can share the same with me.
Re: Compositing Layered Photoshop files
Posted: 2015-08-04T00:01:58-07:00
by fmw42
amit1411 wrote:Hi jmd,
Came across this question while trying to fix a similar issue. I also have multiple Photoshop layers which blend together to create the final output. Not ale to get through it. Just checking if you got solution to your problem and it would be great if you can share the same with me.
Please supply your exact command line that you are trying to use and what layers are involved. Also identify you IM version and platform. Generally it is not a good idea to post to an old topic. In the future, please start a new topic and provide all the information that I suggested you provide