Image Stack vs. temp files - "-draw" option
Posted: 2008-08-18T19:26:22-07:00
Hi all,
I have a Windows program which currently generates a batch file with three "convert.exe" commands to generate two temporary image files and composite them onto a third, finally saving the third one out and deleting the temp files.
To streamline things and stick to just one execution of "convert.exe", I love the idea of using an image stack. However, when I replace the name of the temp file with what I believe to be the correct syntax for an image stack, I get the error "convert.exe: option requires an argument '-draw'"
I used to have the following on one line -
and that was followed by another convert, which included "-draw image over 915.640.0.0 tempfile.jpg"
Now I have the following -
This is where I get the error "convert.exe: option requires an argument '-draw'"
Is this philosophically correct? Am I doomed to a life without the joy and light that is image stacking?
Best,
Steve
I have a Windows program which currently generates a batch file with three "convert.exe" commands to generate two temporary image files and composite them onto a third, finally saving the third one out and deleting the temp files.
To streamline things and stick to just one execution of "convert.exe", I love the idea of using an image stack. However, when I replace the name of the temp file with what I believe to be the correct syntax for an image stack, I get the error "convert.exe: option requires an argument '-draw'"
I used to have the following on one line -
Code: Select all
convert -size 700x260 -background transparent -fill White -font Arial -pointsize 40 caption:"hello" tempfile.jpg
Now I have the following -
Code: Select all
-draw "image over 915,640 0,0 (-size 700x260 -background transparent -fill White -font Arial -pointsize 40 caption:"hello")"
Is this philosophically correct? Am I doomed to a life without the joy and light that is image stacking?
Best,
Steve