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
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: 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

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: Fri Apr 19 06:01:29 2024 UTC