Text to Image
/*$cmd=" convert -size 320x120 xc:lightblue \
-draw "fill tomato circle 250,30 310,30 \
fill limegreen circle 55,75 15,80 \
font Candice font-size 72 decorate UnderLine \
fill dodgerblue stroke navy stroke-width 2 \
translate 10,110 rotate -15 text 0,0 ' Anthony '" \
draw_mvg.gif";*/
$cmd="convert -size 320x100 xc:lightblue -font Candice -pointsize 72 \
-fill blue -draw \"text 25,65 'Anthony'\" text_draw.gif";
exec($cmd,$out,$res);
if($res==0)
{
echo "Fine";
}
else
{
echo "Problem";
}
?>

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home