Gold Vision Communications / USA
 GOLDVISION.COM
Serving the Multimedia Community since 1989.
English Site | German Site 

 Web Hosting

 Virtual Dedicated Servers

 Chequeo de dominio

 Haga su pedido

 Estado del pedido

 Support

 Contáctenos

 Download

 Network

 Network Status

 Webdesign / Templates

 Efectuar pago

 Terms & Conditions

 Imprimir

 Notas Legales

 Declaración de Privacidad
  PHP / ImageWBMP
ImageWBMP

ImageWBMP

(PHP 3>= 3.0.15, PHP 4 )

ImageWBMP -- Output image to browser or file

Description

int imageWBMP ( int im [, string filename [, int foreground]])

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

Using the optional foreground parameter, you can set the foreground color. Use an identifier obtained from imagecolorallocate(). The default foreground color is black.

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


© 1998-2007 Gold Vision Communications All Rights Reserved.