bool imagegd2 ( resource image [, string filename [, int chunk_size [, int type]]] )
imagegd2() outputs a GD2 image to
filename.
The image parameter is the return from the
imagecreate() function.
The filename parameter is optional, and if left
off, the raw image stream will be output directly.
The optional type parameter is either
IMG_GD2_RAW or IMG_GD2_COMPRESSED.
Default is IMG_GD2_RAW.
Note:
The optional chunk_size and
type parameters became available
in PHP 4.3.2.
Note:
The GD2 format is commonly used to allow fast loading of parts of images.
Note that the GD2 format is only usable in GD2-compatible applications.
imagegd2 php code on this is provided for your study purpose, it will guide you to know how create and design a website using php. use it to practice and train your self online
Php imagegd2 syntax tutorial
php tutorial guide and code design are for easy learning and programming. The code practice section provided at the top is for practising of this syntax. Use the code section up to practice your php programming online. Learning php is very easy, all you need is to use the examples on this site and practice them to perfect your skills.