PHP Manual: image2wbmp
image2wbmp
Description
bool image2wbmp ( resource image [, string filename [, int threshold]] )
image2wbmp() outputs or save a WBMP
version of the given image.
Parameters
imageAn image resource, returned by one of the image creation functions, such as imagecreatetruecolor().
filenamePath to the saved file. If not given, the raw image stream will be outputed directly.
threshold