watermarking?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Post by Bonzo »

Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Post by Bonzo »

/usr/local/bin/convert = Path to imagemagick convert
earth.jpg = image to be watermarked
-font Helvetica = font to use
-pointsize 10 = font size
-draw = draw code
\"gravity north = escape the " ( required in php ) watermark position in this case 12 o'clock
fill black = font shadow colour
text 0,12 'Copyright' = font text and a offset from 12 o'clock
fill white = font colour
text 1,11 'Copyright' \" = font text, offset from 12 o'clock and escape the " again
watermark/wmark_text1.jpg = name to save the image as.

Most things can be replaced by a variable declared elsewhere.

An example bit of php code - http://www.rubblewebs.co.uk/imagemagick/code.php
Post Reply