|  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 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.
Block user comment
Status: Assign to:
Bug Type:
From: 550794054 at qq dot com
New email:
PHP Version: OS:


 [2015-05-08 17:08 UTC] 550794054 at qq dot com
From manual page:
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:



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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-05-09 00:42 UTC]
-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]
-Assigned To: +Assigned To: cmb
 [2017-01-04 13:57 UTC]
-Status: Assigned +Status: Closed
 [2017-01-04 13:57 UTC]
Implemented via <;a=commit;h=500b496f>.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Dec 09 13:01:27 2023 UTC