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

last updated in Categories

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, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

Share this on (or read 1 comments/add one below):

1 comment

    Have a question? Post it on our forum!