Phpmage2wbmp function. Image2wbmp (4.0.5, PHP5 in PHP4) image2wbmp-output image browser or file report error description Boolean image2wbmp ($ oimg [, $ filename [, soruce]) image2wbmp () output image2wbmp
= 4.0.5, PHP 5) "style =" background-color: # fff "closure_hashcode_pxptxs =" 35 "> (" = 4.0.5, PHP 5 "in PHP 4)
Image2wbmp-output image browser or file
Report error description
Boolean image2wbmp ($ oimg [, $ filename [, soruce])
Image2wbmp () outputs or saves a given image WBMP version.
Report error parameters
Image
Image resources are created through image functions such as imagecreatetruecolor ().
File name
Path. If no original image stream is provided, it will be output directly.
Start
The threshold is between 0 and 255 (inclusive ).
Report error return value
TRUE is returned. if it is successful or fails, FALSE is returned.
Example of report error
$ File = 'php.png ';
$ Image = imagecreatefrompng ($ file );
Header ('content-type: '. image_type_to_mime_type (IMAGETYPE_WBMP ));
Image2wbmp ($ image); // output the stream directly
Imagedestroy ($ image );
?>
Http://www.bkjia.com/PHPjc/445016.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/445016.htmlTechArticleimage2wbmp (PHP 4 = 4.0.5, PHP 5) image2wbmp-output image browser or file report error description Boolean image2wbmp ($ oimg [, $ filename [, soruce]) image2wbmp () output...