(infile.ps contains one or two separate layers)
Code: Select all
convert infile.ps outfile.jpg
The problem is that I want to modify the two layers/images differently before I output them.
This is a pseudo example where "settingX" is the setting I don't know! that sets the currently active image/layer)
Code: Select all
convert infile.ps (-settingX 0 -rotate 90) (-settingX 1 -rotate 270) outfile.jpg
ps:
The following command kinda works, but is 2x slower in performance and duplicates layer 0 as false layer 1 if layer 1 doesn't exist in the infile.ps. My guess is because it calls GhostScript two separate times:
Code: Select all
convert ( infile.ps[0] -rotate 90 ) tag.ps[1] outfile.jpg
Version: ImageMagick 6.6.7-9 2011-02-21 Q16
Windows XP