|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #80828 Add support for AVIF and HEIF
Submitted: 2021-03-04 09:27 UTC Modified: 2021-03-04 10:22 UTC
Avg. Score:4.8 ± 0.4
Reproduced:14 of 14 (100.0%)
Same Version:11 (78.6%)
Same OS:10 (71.4%)
From: martin at auswoeger dot com Assigned:
Status: Open Package: GD related
PHP Version: 7.4.15 OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: martin at auswoeger dot com
New email:
PHP Version: OS:


 [2021-03-04 09:27 UTC] martin at auswoeger dot com
Support for AVIF and HEIF was recently added to libgd:

It would be great if the following functions could be implemented in the PHP GD extension:  

As well as adding support for the new formats in getimagesize() and similar functions and adding the constants IMAGETYPE_AVIF and IMAGETYPE_HEIF.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2021-03-04 10:22 UTC]
See also request #77757.
 [2021-03-15 22:02 UTC] morss at google dot com
Not to mention request #78832.
 [2021-03-15 22:04 UTC] morss at google dot com
See also discussion of the getimagesize() problem here:
 [2021-03-17 22:04 UTC] morss at google dot com
Martin, I'm planning to port over the AVIF support from gd. Maybe you'd like to work on the HEIF support?

Meanwhile, getimagesize() support for AVIF is being discussed in
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed May 12 22:01:23 2021 UTC