Hi all,
I'm trying to get the method mentioned at http://imagemagick.org/Usage/anim_mods/#glitter to work, but I'm having trouble doing it with PHP. From the Windows command line, the example works properly, but using PHP's exec(), I can't seem to make it work.
Can anyone help me make it work / point me to another method?
Thanks,
Stephen
'Glitter' Text Problem - PHP
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: 'Glitter' Text Problem - PHP
post your code.
Hope that Bonzo can reply then as he knows PHP with IM better than I.
Hope that Bonzo can reply then as he knows PHP with IM better than I.
Re: 'Glitter' Text Problem - PHP
Code: Select all
$string1 = "convert -size 100x100 -fill white -background none -gravity center -pointsize 90 label:Test glitter_mask_trans.gif";
$string2 = "convert glitter_plasma.gif null: glitter_mask_trans.gif -matte -compose dst-in -layers composite glitter_masked_trans.gif";
passthru($string1, $r1);
passthru($string2, $r2);
echo "$r1<br>$r2";
-Stephen
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: 'Glitter' Text Problem - PHP
what version of IM are you using? -layers composite was only available as of v6.3.3-7
Re: 'Glitter' Text Problem - PHP
Thanks a lot, that would explain it:
Version: ImageMagick 6.0.7 09/06/04
I guess I'll just do it on a localhost instead of my web host.
-Stephen
Version: ImageMagick 6.0.7 09/06/04
I guess I'll just do it on a localhost instead of my web host.
-Stephen