Effects on layers in .psd

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
WesW

Effects on layers in .psd

Post by WesW »

Hello all,

I'm using Magick++ to extract the layers from .psd and convert them to individual .tga's. So far I've been able to do so, but the effects applied to the layers in the .psd are gone when the .tga's are produced. Is there something in the API that will allow me to generate these files with the effects intact?

Thanks so much
User avatar
itsmaddy
Posts: 4
Joined: 2011-12-19T00:44:58-07:00
Authentication code: 8675308

Re: Effects on layers in .psd

Post by itsmaddy »

Hello everyone,
I am also facing the same issue.
I am able to convert an psd file's layers to png image using the convert command but the effects which are in the psd file is lost.
Is there any solution to this problem? so that when i convert the psd layers to png the effects are also applied to the generated image.
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: Effects on layers in .psd

Post by Bonzo »

Psd layer 0 should contain all the layers in the correct order; try:

Code: Select all

convert image.psd[0] output.png
User avatar
itsmaddy
Posts: 4
Joined: 2011-12-19T00:44:58-07:00
Authentication code: 8675308

Re: Effects on layers in .psd

Post by itsmaddy »

Hey Bonzo,

thanks for your reply.
But what i want is to extract each image/layer in the psd file as different png files along with its effects.
i.e. if there are 10 layers in the psd file i need 10 different png file which i am getting but the produced image doesnot contains the effects like outer glow,color-overlay,dropshadow e.t.c.
How can i generate the png file which contain all these effects.
the command i am using is
convert myimage.psd psd-layer-%d.png
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Effects on layers in .psd

Post by fmw42 »

I don't believe that IM recognizes special layers such as effects layers or other non-image layers. But I will defer to the IM developers if I am wrong.
Post Reply