watermarking images with convert

convert is a command line tool from image magick package

This is a script I use for watermarking the images:

#!/bin/sh
for i in $( ls | grep jpg); do
convert $i -font /usr/share/fonts/Plazan.ttf -pointsize 17 -draw "gravity SouthWest translate 12,-10 fill '#ECD6B1'text 1,11 'MY LOGO' " -draw "gravity SouthWest translate 0,0 image Over 0,0 0,0 '/images/logocompany.png' " $i
done

I place it inside the folder with the images the are to be marked and run it.

Leave a Reply

*
To prove you're a person (not a spam script), type the answer to the math equation shown in the picture. Click on the picture to hear an audio file of the equation.
Click to hear an audio file of the anti-spam equation