If you're using GD2, try looking at ImageTTFBox() and ImageFTBox(). They'll
give you the coordinates for a bounding box around the text. Use them in
relation to the image to center it properly.
J
Adrian Murphy wrote:
I was wondering if it's possible to centre text precisely on
an
: center text on image
If you're using GD2, try looking at ImageTTFBox() and ImageFTBox().
They'll
give you the coordinates for a bounding box around the text. Use them in
relation to the image to center it properly.
J
Adrian Murphy wrote:
I was wondering if it's possible to centre text
relatedi.e the letter 'y' goes under the
line. any ideas?
- Original Message -
From: J Smith [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 14, 2002 6:48 PM
Subject: [PHP] Re: center text on image
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
3 matches
Mail list logo