php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #69606 Support BMPs (added in GD 2.1.0)
Submitted: 2015-05-08 17:08 UTC Modified: 2017-01-04 13:57 UTC
From: 550794054 at qq dot com Assigned: cmb (profile)
Status: Closed Package: GD related
PHP Version: 5.6.8 OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: 550794054 at qq dot com
New email:
PHP Version: OS:

 

 [2015-05-08 17:08 UTC] 550794054 at qq dot com
Description:
------------
---
From manual page: http://www.php.net/function.image
---
Today when i want to use a bmp image to creat a background but i found that gd can't support the code 'imagecreatfrombmp' or 'imagebmp'.

Test script:
---------------
<?php

imagecreatefrombmp('1.bmp');
imagebmp('1.bmp');

?>

Expected result:
----------------
Although bmp can not belong the Mainstream file format,it still exist in the system.so we wish in next version you can support bmg format.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-05-09 00:42 UTC] requinix@php.net
-Summary: gd can not create or establish bmp format image +Summary: Support BMPs (added in GD 2.1.0) -Operating System: windows +Operating System:
 [2016-07-23 18:22 UTC] cmb@php.net
-Assigned To: +Assigned To: cmb
 [2017-01-04 13:57 UTC] cmb@php.net
-Status: Assigned +Status: Closed
 [2017-01-04 13:57 UTC] cmb@php.net
Implemented via <http://git.php.net/?p=php-src.git;a=commit;h=500b496f>.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 05:01:30 2024 UTC