image2wbmp()
image2wbmp - Output image to browser or file
Syntax
bool image2wbmp (
resource $image,
string $filename,
int $threshold)
Arguments
- image - An image resource, returned by one of the image creation functions, such as imagecreatetruecolor().
- filename - Path to the saved file. If not given, the raw image stream will be outputted directly.
- threshold - Threshold value, between 0 and 255 (inclusive).
Description
image2wbmp() outputs or save a WBMPversion of the given image.
Version
PHP 4.0.5, 5
Return value
Returns TRUE on success or FALSE on failure.