cri.dev
about posts rss

Watermark images with montage (ImageMagick)

Published on
Tagged with photography1 unix1

The simplest way I found to watermark my timelapse images is with montage.

Iā€™m using this in my raspberry-pi-timelapse:

DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
PATH_TO_IMAGE=example.jpg

montage \
  -label "$DATE" \
  $PATH_TO_IMAGE \
  -pointsize 30 \
  -gravity Center \
  -geometry +0+0 \
  $PATH_TO_IMAGE

This will add a simple watermark (with white background) at the bottom of the image, like this:

watermarked-example.jpg

Here, have a slice of pizza šŸ•