|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10692 The function imagecreatefromwbmp() return an error: not a valid WBMP file
Submitted: 2001-05-06 20:54 UTC Modified: 2001-05-06 21:01 UTC
From: haif at gmx dot net Assigned:
Status: Not a bug Package: GD related
PHP Version: 4.0.5 OS: SUSE 7.0
Private report: No CVE-ID: None
 [2001-05-06 20:54 UTC] haif at gmx dot net
$bmp_file = "test.bmp";
$im = imagecreatefromwbmp($bmp_file);

$im2 = imagejpeg($im,'test.jpg','100');

echo "<img src=\"test.jpg\">";


My PHP Configuration:

./configure --with-apxs --with-mysql --enable-ftp -enable-bcmath --with-gd --with-jpeg-dir=/usr/local --with-xpm-dir

Installed GD Version 1.8.4
Installed jpeg-6b

I hope someone can help me!
I really need this function!

Thanks, Haif


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-06 21:01 UTC]
A (windows) BMP file is NOT an WBMP file. WBMP files are used for WAP site AFAIK.
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Tue Oct 23 20:01:26 2018 UTC