Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
On my windows XP Home with XAMPP, the following code is fine:
shell_exec('convert tile'.$r.'.gif null: tg1'.$r.'.gif +matte -compose CopyOpacity -layers composite -pointsize 10 -draw "fill black text 0,'.($h-5).' krabbelaars.eu fill white text 1,'.($h-6).' krabbelaars.eu " tg1'.$r.'.gif');
-tile'.$r.'.gif is an animated gif
-$h is the height of said gif.
Any ideas why this would work on the one platform but not the other?
shell_exec("convert -size ".$w."x -fill white -font \"".$_REQUEST['font']."\" -background black -gravity center label:\"".$text."\" tg1".$r.".gif");
shell_exec("convert ".$_REQUEST['glitter']." -virtual-pixel tile -set option:distort:viewport ".$w."x".$h." -distort SRT 0 tile".$r.".gif");
shell_exec('convert tile'.$r.'.gif null: tg1'.$r.'.gif +matte -compose CopyOpacity -layers composite -pointsize 10 -draw "fill black text 0,'.($h-5).' krabbelaars.eu fill white text 1,'.($h-6).' krabbelaars.eu " tg1'.$r.'.gif');
Creates a text item, creates an equally sized animated tile, then overlays the animation (glitter) onto the text.
The weird part is, the first part of the third command (overlaying the animation onto text) works perfectly, but then where I'd expect there to be "krabbelaars.eu" written in the bottom left corner, there's nothing.