Snippets - Watermark
NOTE: Most of the IM snippets have been tested on IM version 6.3.5 There may be some differences if you are using the code on other versions.
Rotated transparent text - Anthony 17/6/2008
Add a transparent text watermark to an image. In this case the text is transparent; the transparency is set with the last value in rgba\(0,0,0,0.4\).
<?php$cmd = " input.jpg -pointsize 50 -font ../verdane.ttf -fill rgba\(0,0,0,0.4\) "." -gravity center -annotate 40x40+0+0 \"Rubblewebs\" ";exec("convert $cmd output.jpg");?>
