php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: haif at gmx dot net
New email:
PHP Version: OS:

 

 [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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-06 21:01 UTC] derick@php.net
A (windows) BMP file is NOT an WBMP file. WBMP files are used for WAP site AFAIK.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 10:01:28 2025 UTC