Page 1 of 1
Help batch watermarking in windows
Posted: 2019-03-13T11:32:47-07:00
by Babu
Ive been working at batch proportionally watermarking while preserving background png transparency for 6 hours before I came on here to grovel for help from you guys. I tried doing this in other software (IrfanView and XnConvert) and was unable to preserve the transparency of my png background images. I tried mogrify but couldnt get syntax in there right. Bonus points if the new image can be created in a subfolder and preserves the image.png filename.
Re: Help batch watermarking in windows
Posted: 2019-03-13T11:45:21-07:00
by fmw42
Re: Help batch watermarking in windows
Posted: 2019-03-13T11:53:07-07:00
by fmw42
This works fine for me on IM 6.9.10.33 Mac OSX Sierra. Here I mogrify one transparent image, logot.png and put the rose: IM internal image at the bottom right corner.
Code: Select all
mogrify -format png -gravity southeast -draw "image over 0,0 0,0 'rose:'" logot.png
See
https://imagemagick.org/Usage/basics/#mogrify_compose
For all image in a folder. Create a new folder for the output. Then cd to the current folder with your images
Code: Select all
cd path_to/imagefolder
mogrify -format png -path path_to/newfolder -gravity southeast -draw "image over 0,0 0,0 'rose:'" *
supply your own path where I have path_to.
On windows use \ rather than /. Also your cd will be something else.