Req #78832 [Com]: Support for avif format
| From: | morss at google dot com | Date: | Mon, 08 Mar 2021 23:21:25 +0000 |
| Subject: | Req #78832 [Com]: Support for avif format | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-232632@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=78832&edit=1
ID: 78832
Comment by: morss at google dot com
Reported by: vincent dot enjalbert at gmail dot com
Summary: Support for avif format
Status: Not a bug
Type: Feature/Change Request
Package: GD related
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
The nice thing is that desktop Chrome, Firefox, and Opera now support AVIF, at least for single
images (not animations):
https://caniuse.com/avif
I assume Chrome for Android support is on the way, and since this work has involved many companies,
I don't think we'll have to wait as long as we did for WebP for other browsers.
Talking to PHP core maintainers this weekend, I learned that PHP's GD is a fork of libgd. So we
need to adapt the new gd_avif.c (https://github.com/libgd/libgd/blob/master/src/gd_avif.c).
Previous Comments:
------------------------------------------------------------------------
[2021-03-06 22:21:19] apostnikov at gmail dot com
PHP has bundled libgd so it could use update to https://github.com/libgd/libgd/releases/tag/gd-2.3.2
which added AVIF & HEIF support
------------------------------------------------------------------------
[2019-11-18 18:04:00] requinix@php.net
GD is actually a separate project from PHP.
https://libgd.github.io/
------------------------------------------------------------------------
[2019-11-18 18:00:37] vincent dot enjalbert at gmail dot com
Description:
------------
I know the support is still almost inexistant.... Just supported in Windows10 since May, and no
browser supports it atm, as far as I know. (There is however a polyfill : https://github.com/Kagami/avif.js)
But the AVIF format was born earlier this year, and support will probably arrive soon everywhere
(AOM initiative, from google, mozilla, apple, etc...)
The promise of this format is big, and it should - finally - be a real replacement for our current
outdated formats (jpg, ..).
avif spec : https://aomediacodec.github.io/av1-avif/
libavif : https://github.com/AOMediaCodec/libavif
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=78832&edit=1