Page 1 of 1

files with layers

Posted: 2007-03-28T14:41:07-07:00
by BWT
When generating previews from a psd file with 4 layers I get an animated .gif (ImageMagick makes each layer a frame of the animation) and 5 .jpg previews, a flattened preview and then a preview of each of the four layers separately. Can someone help me with a command to generate only 2 files a flattened .gif and .jpg preview?

Re: files with layers

Posted: 2007-03-28T16:18:46-07:00
by anthony
Use -flatten to merge all layers on top of each other.

Code: Select all

convert   image.psd  -flatten -write image.gif  image.jpg

Re: files with layers

Posted: 2007-03-29T13:09:20-07:00
by BWT
Thanks! Works like a magick.