Back to the snippets index

Multiple text on an image ( Anthony 21/6/2008 )

Write multiple shadowed text onto an image.

IM code:

<?php  
$cmd 
" input.jpg -font Arial ".
" -pointsize 50 -draw \" gravity north fill black text 0,-5 'Rubblewebs' \" ".
" -pointsize 25  ".
" -draw \" gravity north fill black text 2,47 'Website design' \" ".
" -draw \" gravity north fill white text 0,45 'Website design' \" ".
" -draw \" gravity north fill black text 2,77 'www.rubblewebs.net' \" ".
" -draw \" gravity north fill white text 0,75 'www.rubblewebs.net' \" ".
" -draw \" gravity north fill black text 2,107 'anthony@rubblewebs.net' \" ".
" -draw \" gravity north fill white text 0,105 'anthony@rubblewebs.net' \" "
exec("convert $cmd output.png ");
?>

Image to go with Multiple text on an image example code
Add a label
Change font to Italic
Fonts installed
Fonts Installed view
Label with image data
Multiple text on an image
Text made from an image on another image
Watermark text and shadow
Watermark tiled text