ImageWBMP

(PHP 3>= 3.0.15, PHP 4 >= 4.0.1)

ImageWBMP -- Output image to browser or file

Description

int imageWBMP (int im [, string filename])

ImageWBMP() creates the WBMP file in filename from the image im. The im argument is the return from the ImageCreate() function.

The filename argument is optional, and if left off, the raw image stream will be output directly. By sending an image/vnd.wap.wbmp content-type using header(), you can create a PHP script that outputs WBMP images directly.

Note: WBMP support is only available in PHP if PHP was compiled against GD-1.8 or later.

See also ImagePNG(), ImageGIF(), ImageJPEG(), ImageTypes().


HIVE: All information for read only. Please respect copyright!
Hosted by hive КГБ: Киевская городская библиотека