imagettftext()
imagettftext - Write text to the image using TrueType fonts
Syntax
array imagettftext ()
Arguments
-
Description
Writes the given text into the image using TrueType fonts.
Version
PHP 4, 5
Return value
Returns an array with 8 elements representing four points making the bounding box of the text. The order of the points is lower left, lower right, upper right, upper left. The points are relative to the text regardless of the angle, so "upper left" means in the top left-hand corner when you see the text horizontally. Returns FALSE on error.