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 Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or 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

Add a Patch

Pull Requests

Add a Pull Request

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-2019 The PHP Group
All rights reserved.
Last updated: Thu Nov 14 13:01:32 2019 UTC