I needed a way to add our company logo into a number of images used on our website and/or social media posts. And I would not do this by hand.

Turns out ImageMagick can help you with this!

Have your watermark ready in a file and add it to an image like this:

$> composite -dissolve 100 -gravity southeast -geometry +30+30 watermark.png image.png newimage.png

The option -gravity southeast moves the watermark to the lower right corner and with -geometry +30+30 I move it up and left a bit to give it some padding.

Enjoy!


See also: Relevant article in Linux Journal