Forum Moderators: coopster

Message Too Old, No Replies

PHP generated graphics

How to insert text within?

         

henry0

7:48 pm on Jun 3, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I am planning to use PHP to generate graphics
Actually boxes that will contain either text or links

I will use
ImageCreate(), imageColorAllocate(), imageRectangle(), imageLine(), imageArc(), imageJPG()

And I just realized that I have no clue on how inserting a text and positioning it?
Where should I look to figure it out?
CSS I am not in love with image positioning too many unacounted for variables such as browser etc...

Thank you

Regards
Henry

sned

7:52 pm on Jun 3, 2004 (gmt 0)

10+ Year Member



Try here: [php.net...]

and writing the the text:
[ww.php.net...]

theres a couple other options to write text as well.

-sned

henry0

8:05 pm on Jun 3, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks Sned

I found the answers to my quest.

regards
Henry

Birdman

8:55 pm on Jun 3, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I found this tutorial to be pretty darn cool:

[nyphp.org...]

henry0

8:58 pm on Jun 3, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Birdman
This is an excellent tutorial
everyone should bookmark it
thanks
Henry