Re: Newbie: output multi-layes GIF file to PSD file
Posted: 2008-10-29T19:44:03-07:00
Depends upon what you want in the PSD. Just try it. For example:cuongvt wrote:Hi all,
The title say it all. is there a command of IM allows me to output multi-layes GIF file to PSD file?
thanks and regards
convert white.png black.png grad.png tmp3.gif
identify tmp3.gif
tmp3.gif[0] GIF 1x100 1x100+0+0 8-bit PseudoClass 2c 2.32kb
tmp3.gif[1] GIF 101x101 1x100+0+0 8-bit PseudoClass 2c 2.32kb
tmp3.gif[2] GIF 100x100 1x100+0+0 8-bit PseudoClass 128c 2.32kb
convert tmp3.gif tmp3.psd
identify tmp3.psd
tmp3.psd[0] PSD 1x100 1x100+0+0 8-bit PseudoClass 256c 20.7kb
tmp3.psd[1] PSD 101x101 101x101+0+0 8-bit DirectClass 20.7kb
tmp3.psd[2] PSD 100x100 100x100+0+0 8-bit DirectClass 20.7kb
Seems to have copied the layers, but PSD files interpret the layers differently from a gif "animation" or multi-frame file. In PSD the first layer is the composite of all the rest. So when I opened the psd file in PS, it did not appear correct to me. In fact, I got non-sense. So again, depends upon what you want to do with the PSD file and how you want to preprocess the gif to make the PSD meaningful. Also the PSD file may have other header data that it needs to interpret its data.
Perhaps Anthony can shed more light.