Uh oh!
There was an error while loading. Please reload this page.
[5.x] Add support for avif image format - #11016
Conversation
jasonvarga
commented
Oct 28, 2024
Can you please provide 2 example avif files? One with and one without transparency? |
daun
commented
Oct 28, 2024
@jasonvarga Sure! These are two I just tried it with: transparent and non-transparent. |
jasonvarga
commented
Oct 28, 2024
Cool, thanks. Doesn't work when using GD, as expected, but does when Imagick if you enable in your assets.php config. (Which you've tested) 🎉 |
aaronbushnell
commented
Nov 12, 2024
@jasonvarga I saw you mention this doesn't work when using GD, but GD does have support for avif, does it not? https://www.php.net/manual/en/ref.image.php |
jasonvarga
commented
Nov 12, 2024
Yes, but... 😅 Intervention Image (the package that we use under the hood) only supports AVIF in their newer major version (3), which we can't upgrade to because Glide is tied to the older version (2). |
aaronbushnell
commented
Nov 12, 2024
Ahh, I got ya! Totally no problem—I wanted to make sure I wasn't missing something on the GD side of things! |
avifto the list of known image formatswebpwhere it was still missing as well, for good measure :)