(PHP 4, PHP 5, PHP 7)
Write text to the image using TrueType fonts
array imagettftext ( resource $image, float $size, float $angle, int $x, int $y, int $color, string $fontfile, string $text )
Writes the given text into the image using TrueType fonts.
Parameters:
image
An image resource, returned by one of the image creation functions, such as imagecreatetruecolor().