Does anyone know how to set the size of a font when outputting a string to an image using the GD image library?
Here is my output so far:
$black = imagecolorallocate($image, 0, 0, 0);
imagefilledrectangle($image, 100, 100, 300, 300, $white);
imagestring ($image, "Times New Roman", 110, 110, "A String Here", $black) or die("GD Died");
I can't figure out how to print different text sizes to the image? Any ideas? Thanks in advance!
Cheers.