PHP Manual
This manual is provided as a courtesy. It is not an official source. Please check php.net for updated information.
(PHP 4 >= 4.1.0, PHP 5)
imagegd() outputs a GD image to filename. The image argument is the return from the imagecreatetruecolor() function.
The filename parameter is optional, and if left off, the raw image stream will be output directly.
Note: The GD format is commonly used to allow fast loading of parts of images. Note that the GD format is only usable in GD-compatible applications.
See also imagegd2().