Example:
Code: Select all
convert -size 600x600 -alpha set piece-0.tif -alpha set piece-1.tif -alpha set piece-2.tif -alpha set piece-3.tif -alpha set piece-4.tif -adjoin test.psd
I've found that creating a background image of the canvas size helps, but the results are slightly unpredictable.
Code: Select all
convert -size 600x600 xc:white bg.tif
convert -alpha opaque bg.tif -alpha set piece-0.tif -alpha set piece-1.tif -alpha set piece-2.tif -alpha set piece-3.tif -alpha set piece-4.tif -adjoin test.psd
I found this among the examples, but got only segfaults and errors when adjusting it for my needs. I'm a bit clueless here.
Code: Select all
convert -page +0+0 bg.tif \
-page +5+20 piece-0.tif \
-page +100+20 piece-1.tif \
-page +200+20 piece-2.tif \
-page +300+20 piece-3.tif \
+page \
-adjoin test.psd
I'm stumped, and I've been playing with it for hours trying to get it to do what I want.