php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7435 ImageWBMP doesn't work
Submitted: 2000-10-24 11:17 UTC Modified: 2000-10-25 13:50 UTC
From: raf at netmobil dot fr Assigned:
Status: Closed Package: GD related
PHP Version: 4.0.1pl2 OS: linux red hat 6.2
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: raf at netmobil dot fr
New email:
PHP Version: OS:

 

 [2000-10-24 11:17 UTC] raf at netmobil dot 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);
?>


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-25 13:50 UTC] sniper@php.net
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

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Dec 04 03:01:30 2024 UTC