image2wbmp
(PHP 4 = 4.0.5, PHP 5)
image2wbmp - Output Image Browser Report error description
boolean image2wbmp($oimg[,$filename[,soruce]])
image2wbmp() outputs or saves a WBMP version of a given image.
Reports wrong parameters 🎜> Image resources created by image functions, such as imagecreatetruecolor(), return a
file name
path to save the file. If no original image stream is given, it will be output directly.
Report error return value
Returns TRUE on success or failure
Reports error. Example
$file = 'php.png';$image = imagecreatefrompng($file);
header('Content-type: ' . image_type_to_mime_type(IMAGETYPE_WBMP));image2wbmp($image); // output the stream directlyimagedestroy( $image);
?>
http://www.bkjia.com/PHPjc/445016.html
www.bkjia.com
true
TechArticle
image2wbmp (PHP 4 = 4.0.5, PHP 5) image2wbmp - Output image browser or file reporting error Description boolean image2wbmp($oimg[,$filename[,soruce]]) image2wbmp() output...