shivammathur / php-builder

:elephant: Build PHP 5.6 and newer
https://github.com/shivammathur/php-builder/releases
MIT License
65 stars 8 forks source link

Support for AVIF in PHP8.1RC3 #12

Closed mondrake closed 2 years ago

mondrake commented 2 years ago

Describe the feature PHP 8.1 bundled GD supports the AVIF file format, https://github.com/php/php-src/pull/7026.

However the 8.1RC3 executable loaded by the plugin does not seem to have been compiled with AVIF support.

Is it possible to support it?

Version

Underlying issue AVIF image file support

Describe alternatives

Additional context

Are you willing to submit a PR? Not really my field.

shivammathur commented 2 years ago

libavif package is only available for Ubuntu 21.04/Debian 11 and above, so most likely ppa:ondrej/php will add it for their packaging or update libgd to version which adds avif support. Then I will add support for it here.

andypost commented 2 years ago

I send a message to Ondřej Surý via launchpad

mondrake commented 2 years ago

Thanks!