gd question

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Ree
Forum Regular
Posts: 592
Joined: Fri Jun 10, 2005 1:43 am
Location: LT

gd question

Post by Ree »

I was thinking of a quick way to write some text in the middle of an image. However, I can't seem to find a good way to measure the text bbox and put the text exactly in the middle. Any ideas you may have? Or maybe it would be better for me to simply create a PNG image (with the text) with Photoshop and use that instead?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Post Reply