(PHP 4 >= 4.0.1, PHP 5, PHP 7)
Output image to browser or file
bool imagewbmp ( resource $image [, string $filename [, int $foreground ]] )
imagewbmp() outputs or save a WBMP version of the given image.
Parameters:
image
An image resource, returned by one of the image creation functions, such as imagecreatetruecolor().
filename
The path