Here is my code:
Code: Select all
composite -gravity center "P:\Automation\iballisticsquid\00001.jpg" "P:\Automation\iballisticsquid\template\template.jpg" "P:\Automation\iballisticsquid\00001.png"
composite -gravity center "P:\Automation\iballisticsquid\00002.jpg" "P:\Automation\iballisticsquid\template\template.jpg" "P:\Automation\iballisticsquid\00002.png"
However, I am unable to get the .bat file to run properly in Task Scheduler. It returns a useless 0x1 error. Is this an issue with IM or Task Scheduler? I would guess TS, but maybe someone can look over this and tell me if I'm missing something here.
I've attached:
my task scheduler setup for the .bat file: http://i.imgur.com/B9BKy0n.jpg
my folder structure: http://i.imgur.com/B3N4jIx.jpg
and an output of my cmd line's "version" info: http://i.imgur.com/tgp6NrA.jpg
[edit]
After some research, I THINK this problem occurs because of how Task Scheduler works with absolute/relative paths, but can't be completely sure. One thing's for certain, after I switched to another non-Microsoft scheduler , the problem disappeared. So, it's not a ImageMagick problem, AFAIK. This thread can be closed, if the admins feel it's appropriate.