Req #80828 [Com]: Add support for AVIF and HEIF

From: Date: Wed, 17 Mar 2021 22:04:44 +0000
Subject: Req #80828 [Com]: Add support for AVIF and HEIF
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-232837@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80828&edit=1

 ID:                 80828
 Comment by:         morss at google dot com
 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:

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 https://github.com/php/php-src/pull/5127.


Previous Comments:
------------------------------------------------------------------------
[2021-03-15 22:04:51] morss at google dot com

See also discussion of the getimagesize() problem here:

https://github.com/php/php-src/pull/5127

------------------------------------------------------------------------
[2021-03-15 22:02:53] morss at google dot com

Not to mention request #78832.

------------------------------------------------------------------------
[2021-03-04 10:22:46] cmb@php.net

See also request #77757.

------------------------------------------------------------------------
[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)

« previous php.bugs (#232837) next »