Req #80828 [Opn]: Add support for AVIF and HEIF
Edit report at https://bugs.php.net/bug.php?id=80828&edit=1
ID: 80828
Updated by: cmb@php.net
Reported by: martin at auswoeger dot com
Summary: Add support for AVIF and HEIF
Status: Open
Type: Feature/Change Request
Package: GD related
PHP Version: 7.4.15
Block user comment: N
Private report: N
New Comment:
See also request #77757.
Previous Comments:
------------------------------------------------------------------------
[2021-03-04 09:27:03] martin at auswoeger dot com
Description:
------------
Support for AVIF and HEIF was recently added to libgd:
https://github.com/libgd/libgd/commit/f2aa2836ed910ca3510585a47a8a064b5140e148
https://github.com/libgd/libgd/commit/39c4644fa01f6b9f002119e4109e252bc665b8f1
It would be great if the following functions could be implemented in the PHP GD extension:
imageavif()
imageheif()
imagecreatefromavif()
imagecreatefromheif()
As well as adding support for the new formats in getimagesize() and similar functions and adding the
constants IMAGETYPE_AVIF and IMAGETYPE_HEIF.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=80828&edit=1
Thread (7 messages)