Back to the snippets index

Glitter text

( IM Forum 9/8/2008 )

Use a mask over a glitter image to create a glitter text. This uses the layer operator and will only work on versions later tham 6.3.5

IM code:

<?php
$cmd 
"glitter_plasma.gif null: glitter_mask_trans.gif -matte "
" -compose DstIn -layers composite ";

exec("convert $cmd glitter.gif");
?>

Image to go with Glitter text example code
Link for more information