imagemagick - How to create a layered PSD file from command line? -


I should have a layered PSD file available on ImageMagick or any other command-line tool Linux platform since I do this on Linux server Need to do, I can not use Photoshop Scripting.

The image below creates a PSD file with a single layer, where two images (here: plasma fractal) are placed below one and the other. (I use ImageMagic 6.5.3-10 2009-07-31 Q16, which is the latest available in MacPortes.)

  Convert - Season 100x100 Plasma: Fractal Plaza: Fractal -Append Out. PS  

How do I create a PSD file where each image is in its layer, and one layer is directly above the other?

Or, is there any other command line tool I have permission to do this?

Update: Any other options from the GIMP command line?

If the image does not work magic, then I see.

The following commands in the interactive console created a 2-layer PSD file for me:

  & gt; (Gimp-Image-New 200 200 0) (1) & gt; (Gimp-layer-new1 200 200 0 "layer-1" 100 0) (2) & gt; (Gimp-layer-new1 200 200 0 "layer-2" 100 0) (3) & gt; (File-psd-save 0 0 0 0 0 0 0 0 0 0 (GIMP-image-add-layer 1 2 -1)> (GIMP-image-add-layer 1 3 -1) & gt; (File-psd-save 0 1 1 "test.psd" "test.psd" 0))  

It will need to be converted to script-phu scripts (.scm file) and This can be executed from the command line with something like this:

  gimp -i -b '(your script-name "test.psd" 200 200)' -b '(gimp - Kuti 0) ' 

Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -