How to create a layered PSD file from command line?

后端 未结 6 864
轻奢々
轻奢々 2020-12-04 16:06

I need to create a layered PSD file with ImageMagick or any other command-line tool available on Linux platform. Since I need to do this on Linux server, I

6条回答
  •  暖寄归人
    2020-12-04 16:32

    You can use the -adjoin to combine an image sequence.

    convert -size 100x100             \
            -alpha set plasma:fractal \
            -alpha set plasma:fractal \
            -adjoin                   \
            out.psd
    
    • The alpha channels are needed for the PSD coder.
    • The order of the images is bottom layer to top layer.
    • There are a lot of compatibility issues with Photoshop and GIMP depending on the settings.

    Using:

    • ImageMagick 6.5.4-6
    • Photoshop CS2

提交回复
热议问题