PHP 4.0 Bug #7435 Updated: ImageWBMP doesn't work

From: Date: Wed, 25 Oct 2000 17:50:17 +0000
Subject: PHP 4.0 Bug #7435 Updated: ImageWBMP doesn't work
Groups: php.dev 
Request: Send a blank email to php-dev+get-35955@lists.php.net to get a copy of this message
ID: 7435 Updated by: sniper Reported By: raf@netmobil.fr Status: Closed Bug Type: GD related Assigned To: Comments: As you don't give any clues how it doesn't work I must assume it was crashing. This is fixed in the CVS now and will be in PHP 4.0.4. --Jani Previous Comments: --------------------------------------------------------------------------- [2000-10-24 11:17:14] raf@netmobil.fr my code for use ImageWBMP imagewbmp.wml <?xml version="1.0"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> <wml> <card id="start" title="Rectangle"> <p align="center"> <img src="rectangle.php" alt="Rectangle"/> </p> </card> </wml> 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); ImageRectangle($im, 5, 5, 85, 85, $black); ImageWBMP($im); ImageDestroy($im); ?> --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7435

« previous php.dev (#35955) next »