How can I add text to an image?
It is not worth learning these, therefore take note of them from an existing example or the manual each time that you need to write text with PHP!
The function used to do this using TrueType fonts is called imagettftext and take a deep breath as here come the parameters:
array imagettftext ( resource $image, float $size, float $angle, int $x, int $y, int $color, string $fontfile, string $text )
Comment on this Question and Answer >>>
ASK A QUESTION
More images PHP Questions
How can I find the colour of a pixel of an image?How can I find the width and height of an image resource?
I recently updated from shared servers to virtual dedicated, I now cannot see any of the images I try to upload. The hosting company says that the script for the images are in the root directory but the images are not. The programmer said he didn't c
how to rotate an image using php code?
how can i load images with php?
