im trying to add a caption below each image using the following Imagemagick command:
convert 3_1.jpg -background Khaki label:"@3_1.txt" -gravity Center -append 3_1_text.png
This works fine and got this:
Basically i use an image file named e.g. xxx.jpg and add the caption from a text file with the same name (xxx.txt). What i want to do now is the same process but for a bunch of jpg files in a folder, using a batch process. I have the following folder:
folder with JPGs and text files
So i want to make a batch file that process each image with his respective txt file, and ideally save all the outputs in a specific directory.
Thank you in advance, and best regards,
Jorge