Документ взят из кэша поисковой машины. Адрес оригинального документа : http://old.hcs.cmc.msu.ru/php/function.image2wbmp.html
Дата изменения: Sun Feb 3 22:41:05 2002
Дата индексирования: Mon Oct 1 22:02:42 2012
Кодировка:
Image2WBMP

Image2WBMP

(PHP 4 >= 4.0.5)

Image2WBMP -- Output image to browser or file

Description

int image2WBMP ( int im [, string filename [, int threshold]])

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

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 if PHP was compiled against GD-1.8 or later.

See also ImageWBMP().