Page 1 of 1

Draw a GD graph then store in a file

Posted: Wed Apr 09, 2008 4:41 pm
by ngungo
I could not find a tutorial anywhere that showing how to draw a graph by GD lib functions then write to a file. Any hints would be appreciated.

Re: Draw a GD graph then store in a file

Posted: Wed Apr 09, 2008 8:22 pm
by s.dot
imagejpeg() imagepng() and imagegif() allow you to use the second parameter of the functions to save to a file.

Re: Draw a GD graph then store in a file

Posted: Thu Apr 10, 2008 8:44 am
by ngungo
Thanks!