Home >Backend Development >PHP Tutorial >Tutorial on generating WBMP_PHP on WAP site using GD version 1.8 or above

Tutorial on generating WBMP_PHP on WAP site using GD version 1.8 or above

WBOY
WBOYOriginal
2016-07-13 17:25:01789browse





Tutorial on generating WBMP_PHP on WAP site using GD version 1.8 or above


rectangle.php

Header("Content-type: image/vnd.wap.wbmp");
$im = imagecreate(90, 90);
$white = ImageColorAllocate($im, 255,255,255);
$black = ImageColorAllocate($im, 0,0,0);
ImageTutorial on generating WBMP_PHP on WAP site using GD version 1.8 or above($im, 5, 5, 85, 85, $black);
ImageWBMP($im);
ImageDestroy($im);
?>

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/532110.htmlTechArticlerectangle.php Header("Content-type: image/vnd.wap.wbmp"); $im = imagecreate(90, 90); $white = ImageColorAllocate($im, 255,255,255); $black = ImageColorAllocate($im, 0,0,0); ImageRe...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn