Back to the snippets index

Image watermark

( Anthony 17/6/2008 )

Use an image as a watermark.

IM code:

<?php  
$cmd 
" -watermark 30% -gravity center watermark.png input.jpg "
exec("composite $cmd output.jpg"); 
?> 

Image to go with Image watermark example code