In Windows ImageMagick, I have to rotate an image before I can place it on the page:
Code: Select all
convert .\source1.png -alpha set -background none -rotate 15 rotate.png
I then place it on the page:
Code: Select all
composite -compose over .\rotate.png -geometry +103+160 bg.png output.png
I'm trying to figure out how to not write the "rotate.png" to disk, but just store it in memory until the composite step. I've unsuccessfully tried:
Code: Select all
composite -compose over ( .\source1.png -alpha set -background none -rotate 15 ) .\source1shadow.png .\bg.png output.png
Is there a way to make this work? Many thanks for your help.