Set WeberTrivia.com to be my default homepage.   Suggest a Question                                               

Suggest A Question : :  Frequently Asked Questions : :  Search : :  Relevant Manuals : : 
PHP Questions : :  Linux Questions : :  MySQL Questions : : 
home  [ Login ] 

Image_Graph::getGDImage()

Image_Graph::getGDImage() -- Create a GD-image-resource for the graph

Description

This function will return a truecolor GD-resource. The GD-resource will have the size you supplied when creating the Image_Graph-instance. If you need a palette GD-resource (e.g. for writing of GIF-images) please be sure to downsample the truecolor GD-resource returned by this function yourself. A truecolor-resource is needed for all alpha-channel-features etc. to receive best possible image-quality. It's possible to optionally give this function an already existing gd-resource. It will then be used for drawing. Please note that (at the moment) no solid standard background-fill will be done.

Parameter

resource $gdResource

if supplied an existing gd-resource will be used for drawing

Return value

returns truecolor gd-resource containing image of graph

Throws

throws no exceptions thrown

Note

This function can not be called statically.

Who's Online
Guest Users: 8
Google
Web
WeberTrivia
WeberDev
WeberForums
 Free Sample Chapters  Free Sample Chapters
  Deliver First Class Web Sites: 101 Essential Checklists
Want to learn how to make your web sites usable and accessible? Want to ensure that your sites meet current best practice, without spending hours trawling through incomprehensible specifications and recommendations from dozens of different books, research papers, and web sites? Want to make sure that the sites you build are "right the first time," requiring no costly redevelopments?

More Sample Chapters

PHP General