Proper IM 6 syntax for convert should have the input image right after convert.
I believe that you will need to write a loop script to convert each image in folder A with the header and footer images using -append.
Alternately, append your header and footer images with a 100x100 size transparent image before hand, so you have just one image. Actually the transparent image could be any 100x100 sized image, since it will be covered over. Then use mogrify to processd all the images in folder A as foreground overlaying the one header/footer combined image. See mogrify
http://www.imagemagick.org/Usage/basics/#mogrify
http://www.imagemagick.org/Usage/basics ... fy_compose
http://www.imagemagick.org/Usage/compose/#duff-porter
use over for the compose method rather than dst_in.
Be sure to create a new empty folder to hold the output images so you do not make a mistake and write over your input images.
Example:
I put two gif image in folder test1 on my desktop (Mac OSX) and used rose.gif to overlay in the middle of each of the two images and save a png. I created a new folder test2 to hold the results.
Unix file paths. Change as needed for Windows
Code: Select all
cd /Users/fred/desktop/test1
mogrify -path /Users/fred/desktop/test2 -format png -gravity center \
-draw "image over 0,0 0,0 '/Users/fred/desktop/rose.gif'" *.gif
Please always provide your version of IM and platform when asking questions.