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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
37 + 40 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 17:01:28 2024 UTC