On Tuesday 25 May 2004 03:52, Mike Rotondo wrote:
I've written a script that displays a graph of some data from a text file.
Beneath each bar in the graph is a text label. I read the php.net
documentation and it seemed that imagettftext() was the easiest function to
get text in an image with,
To change your Image color use ImageFill:
ImageFill($im,$gifwidth,$gifheight,ImageColorAllocate($im,235,235,235));
Then, in your ImageTTFText, you can set the font:
ImageTTFText($im, 11, 0, 20, (540-20),-$black,../fonts/arial.ttf, Source:
SEER 12 Program);
I recommend using
2 matches
Mail list logo