Help batch watermarking in windows
Help batch watermarking in windows
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.
Last edited by Babu on 2019-03-23T11:18:38-07:00, edited 1 time in total.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Help batch watermarking in windows
Please, always provide your IM version and platform when asking questions, since syntax may differ.
Also provide your exact command line and your images, if possible.
See the top-most post in this forum "IMPORTANT: Please Read This FIRST Before Posting" at http://www.imagemagick.org/discourse-se ... f=1&t=9620
If using Imagemagick 7, then see http://imagemagick.org/script/porting.php#cli
For novices, see
http://www.imagemagick.org/discourse-se ... f=1&t=9620
http://www.imagemagick.org/script/comma ... essing.php
http://www.imagemagick.org/Usage/reference.html
http://www.imagemagick.org/Usage/
https://github.com/ImageMagick/usage-markdown
https://imagemagick.org/script/porting.php#cli
Also provide your exact command line and your images, if possible.
See the top-most post in this forum "IMPORTANT: Please Read This FIRST Before Posting" at http://www.imagemagick.org/discourse-se ... f=1&t=9620
If using Imagemagick 7, then see http://imagemagick.org/script/porting.php#cli
For novices, see
http://www.imagemagick.org/discourse-se ... f=1&t=9620
http://www.imagemagick.org/script/comma ... essing.php
http://www.imagemagick.org/Usage/reference.html
http://www.imagemagick.org/Usage/
https://github.com/ImageMagick/usage-markdown
https://imagemagick.org/script/porting.php#cli
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Help batch watermarking in windows
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.
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
supply your own path where I have path_to.
On windows use \ rather than /. Also your cd will be something else.
Code: Select all
mogrify -format png -gravity southeast -draw "image over 0,0 0,0 'rose:'" logot.png
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:'" *
On windows use \ rather than /. Also your cd will be something else.