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 |
CWD is a type of shell variable. State Whether True or False?
How long should a session last?
Tell me how to initiate a session in php?
How a constant is defined in a php script?
How I use global variable in another page without using $_GET method?
How does php server work?
Are php sessions cookies?
How cookies are transported from servers to browsers?
How to Retrieve video files in php from database.....and how to store video on database..
What is faster in php?
Is php harder than javascript?
How can you make a connection with mysql server using php?