Its just an easy function to write an string in the middle of a picture.<?phpfunction imageCenterString(&$img, $font, $text, $color){ if($font < 0 || $font > 5){ $font = 0; }$num = array(array(4.6, 6), array(4.6, 6), array(5.6, 12), array(6.5, 12), array(7.6, ...
Its just an easy function to write an string in the middle of a picture.<?phpfunction imageCenterString(&$img, $font, $text, $color){ if($font < 0 || $font > 5){ $font = 0; } $num = array(array(4.6, 6), array(4.6, 6), array(5.6, 12), array(6.5, 12), array(7.6,...
The above example will output something similar to: See Also imageloadfont() imagettftext()<< imagesettile Main : Function Reference : Image Functions : imagestring imagestringup >> Javascript debugger Website design →