How do I create watermark with ImageMagick’s composite command in Linux?

Posted on in Categories last updated October 29, 2006

A watermark is a recognizable image or pattern in paper that appears lighter when viewed by transmitted light (or darker when viewed by reflected light, atop a dark background).

Under Linux you can use ImageMagick software to impose digital watermark (it is a technique which allows an individual to add hidden copyright notices or other verification messages to digital audio, video, or image signals and documents.) for copyright information or to put your site url. For example, consider following image:


At the bottom of coroner you will notice our site url http://www.cyberciti.biz/

To add watermark you need to use composite command which composite images together including watermark image.
$ composite -compose bumpmap -gravity southeast watermark.jpg input.jpg output.jpg

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

1 comment

Leave a Comment