This is a discussion on image with text made by php.. within the alt.comp.lang.php forums, part of the PHP Programming Forums category; I have a problem to made an image with a text on it. I have made a tile and if ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I have a problem to made an image with a text on it.
I have made a tile and if i create a line for example php work properly, but if i try to put a string on image i have a problem, image isn't show. What is the php function to put a string into an image?! Please help me!! Thanks for all! Francesco Pradella. |
|
|||
|
On Fri, 30 Jan 2004 19:12:39 GMT, "Francesco Pradella" <franprad@tin.it> wrote:
>I have a problem to made an image with a text on it. >I have made a tile and if i create a line for example php work properly, but >if i try to put a string on image i have a problem, image isn't show. > >What is the php function to put a string into an image?! You have an image? You want a string on it? Shockingly, it's called imagestring(). See the manual. http://www.php.net/manual/en/ref.image.php -- Andy Hassall <andy@andyh.co.uk> / Space: disk usage analysis tool <http://www.andyh.co.uk> / <http://www.andyhsoftware.co.uk/space> |
|
|||
|
Now now Andy (grin) you could also use imagettftext()
> You have an image? You want a string on it? > Shockingly, it's called imagestring(). > > See the manual. http://www.php.net/manual/en/ref.image.php > > -- > Andy Hassall <andy@andyh.co.uk> / Space: disk usage analysis tool > <http://www.andyh.co.uk> / <http://www.andyhsoftware.co.uk/space> |