PHP. Руководство по PHP. 2005
imagegd
imagegd
Description
bool imagegd (resource image [, string filename])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.
Замечание: 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.