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 |
Explain what are the different errors in php?
What are sql injections, how do you prevent them and what are the best practices?
Actually am working in existing project which is developed in .net, am converting the .net into php code. am facing problem after uploading the .php in server. amgetting the error message like "The page cannot be found" but its working perfectly in local host
What is mean tnq
Explain the types of string comparision function in PHP
How do you debug php?
What is super () python?
What are different types of errors available in Php?
What is data abstraction in php?
Does php class need constructor?
What is the maximum size of a database in mysql?
CWD is a type of shell variable. State Whether True or False?