|  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
 [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: Wed Dec 06 16:01:27 2023 UTC