|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7029 ImageWBMP
Submitted: 2000-10-05 02:01 UTC Modified: 2000-10-28 23:20 UTC
From: jussi at cop dot fi Assigned:
Status: Closed Package: GD related
PHP Version: 4.0.2 OS: Debian Linux 2.2.17
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: jussi at cop dot fi
New email:
PHP Version: OS:


 [2000-10-05 02:01 UTC] jussi at cop dot fi
I can't generate wbmp image on the fly :(
I have apache 1.3.12, PHP4.0.2 and gd 1.8.3-5, no compiler error/problem but when i try to use ImageWBMP functions, Apache generate message:
Document Contains No Data

There is my example code:
   Header("Content-type: image/vnd.wap.wbmp");
   $img = ImageCreate(40,40);
   $bg = ImageColorAllocate ($img, 255,255,255);
   $fg = ImageColorAllocate ($img, 0,0,0);
   ImageFill($img, 0, 0, $fg);
   ImageString($img, 3, 15, 2, $tt, $bg);
And WML code

   <p align="center">
      <img src="/wap/mail/img/dd.php" alt="Login"/>


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-05 17:53 UTC]
What heppens if you run the same script form command line?
 [2000-10-28 23:20 UTC]
Fixed in CVS.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Mar 22 20:03:59 2023 UTC