How can I add text to an image?
Answer / jude jeevanraj.p
There is a built in function to add text to an image. The
tricky bit is knowing the parameters.
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 )
| Is This Answer Correct ? | 4 Yes | 1 No |
Is php a low level language?
how to store date to database
How to send a cookie to the browser?
What language is php written in?
Are static variables final?
What is the difference between core php and php?
Do you know what is use of count() function in php?
What is trim codeigniter?
Does php 5 support exceptions?
What is associative array in php?
What is the use of strpos in php?
What are the options to transfer session ids?