Merging multiple file to .psd or .xcf with layers

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
edembowski

Merging multiple file to .psd or .xcf with layers

Post by edembowski »

I've been searching and I can't seem to find a way to do this. I'm trying to take a series of images and combine them to a single .psd or .xcf file. I'd like the first file to be the background, and each successive file to be a screen layer. Has anyone done this? I've gone over the documentation a few times, and I don't see how to do this.

Is it possible? Any help would be greatly appreciated.

Thanks,

Ed
edembowski

Re: Merging multiple file to .psd or .xcf with layers

Post by edembowski »

Any ideas?
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Merging multiple file to .psd or .xcf with layers

Post by anthony »

IM by default handles multiple images and layers.

To save a multiple image just save it.
convert image image image output.xcf

If you get files of the form output-1.xcf output-2.xcf etc
then IM can not save multiple images into a single file of that format.
You can then either put in a request or do something else.

See IM Examples Writing a Multi-Image Sequence
http://www.imagemagick.org/Usage/files/#write_seq
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply