Please help me I don't understand
Posted: 2008-10-20T18:21:46-07:00
Hi!
Was on 6.0.7 ImageMagick version with this script and everything was fine.
After upgrade to 6.4.4 ImageMagick nothing work.
It's a little script to create glittertext with text, font, size, angle, glitter image, shadow, stroke and stroke width.
Could you help me to find the problem please?
Here is my code:
$kol_ris= 3;
if($angle==0)
{
exec("".$patch_to_ImageMagik."convert -font $font_tex -pointsize $size -gravity center -size {$width_text}x{$height_text} xc:transparent -fill black -annotate +$shadows_size+0 ".$text." -fill black -stroke $stroke -strokewidth $border -annotate +0+0 ".$text." created/$imagesurse.gif");
exec("".$patch_to_ImageMagik."composite -background transparent -gravity SouthEast -geometry +20+5 site.gif created/$imagesurse.gif created/$imagesurse.gif ");
for($n=0; $n<$kol_ris ;$n++)
{
exec("".$patch_to_ImageMagik."convert created/$imagesurse.gif -font $font_tex -pointsize $size -gravity center -tile tempglitter/".$glitterimage."-".$n.".gif -annotate +0+0 ".$text." created/$imagesav$n.gif ");
set_time_limit(30);
}
exec("".$patch_to_ImageMagik."convert -delay 15 -loop 0 created/$imagesav*.gif created/$curimage.gif");
}
Thank you for your help!
Was on 6.0.7 ImageMagick version with this script and everything was fine.
After upgrade to 6.4.4 ImageMagick nothing work.
It's a little script to create glittertext with text, font, size, angle, glitter image, shadow, stroke and stroke width.
Could you help me to find the problem please?
Here is my code:
$kol_ris= 3;
if($angle==0)
{
exec("".$patch_to_ImageMagik."convert -font $font_tex -pointsize $size -gravity center -size {$width_text}x{$height_text} xc:transparent -fill black -annotate +$shadows_size+0 ".$text." -fill black -stroke $stroke -strokewidth $border -annotate +0+0 ".$text." created/$imagesurse.gif");
exec("".$patch_to_ImageMagik."composite -background transparent -gravity SouthEast -geometry +20+5 site.gif created/$imagesurse.gif created/$imagesurse.gif ");
for($n=0; $n<$kol_ris ;$n++)
{
exec("".$patch_to_ImageMagik."convert created/$imagesurse.gif -font $font_tex -pointsize $size -gravity center -tile tempglitter/".$glitterimage."-".$n.".gif -annotate +0+0 ".$text." created/$imagesav$n.gif ");
set_time_limit(30);
}
exec("".$patch_to_ImageMagik."convert -delay 15 -loop 0 created/$imagesav*.gif created/$curimage.gif");
}
Thank you for your help!