Snippets - Masks
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.
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
<?php$cmd = "glitter_plasma.gif null: glitter_mask_trans.gif -matte "." -compose DstIn -layers composite ";exec("convert $cmd glitter.gif");?>

For more examples and information check out the main Imagemagick section.
Glitter text ViewWarhol effect View