Skip to content

Instantly share code, notes, and snippets.

@basilio
Created October 26, 2011 17:39
Show Gist options
  • Save basilio/1317108 to your computer and use it in GitHub Desktop.
Save basilio/1317108 to your computer and use it in GitHub Desktop.
add watermark to images with imagemagick (command line)
// Create a watermark image (watermark.png) and place in folder
// Run this script on command line. It generates an image-wm.png for each image.png
for x in *.png; do composite -gravity Center watermark.png $x ${x//.png}-wm.png; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment