PHP Manual
Prev |  | Next

# png2wbmp

(PHP 4 >= 4.0.5, PHP 5)

png2wbmp -- Convert PNG image file to WBMP image file

## Description

int png2wbmp ( string pngname, string wbmpname, int d_height, int d_width, int threshold )

Converts the pngname PNG file to WBMP format, and saves it as wbmpname. With the d_height and d_width you specify the height and width of the destination image.

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

See also jpeg2wbmp().

Prev | Home | Next
jpeg2wbmp | Up | IMAP, POP3 and NNTP Functions