composite and convert in a single command
Posted: 2009-10-04T07:20:55-07:00
Hi,
I have tried for hours and searched half the web but was not successful. Or maybe more likely I didn´t understand what I found...
I would like to combine two images with composite and then annotate a text with convert on top of the composition.
If I do it in two steps it works:
Needless to say this is pretty slow for hundreds of images since I write the tempfile and then re-open it in the second command...
I know it should be possible to have both operations in a single command without the need to use a "tempfile", but how?
Thanks in advance,
Andreas
I have tried for hours and searched half the web but was not successful. Or maybe more likely I didn´t understand what I found...
I would like to combine two images with composite and then annotate a text with convert on top of the composition.
If I do it in two steps it works:
Code: Select all
composite -geometry +200+0 rose: logo: tempfile
convert tempfile -gravity south -annotate +0+20 "sometext" outfile_final
I know it should be possible to have both operations in a single command without the need to use a "tempfile", but how?
Thanks in advance,
Andreas