Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support avif as texture image format #25171

Closed
leon opened this issue Dec 22, 2022 · 1 comment
Closed

Support avif as texture image format #25171

leon opened this issue Dec 22, 2022 · 1 comment
Milestone

Comments

@leon
Copy link
Contributor

leon commented Dec 22, 2022

Description

My Christmas contribution is trying to get AVIF support in GLTF, Three and Babylon.

I Did a PR for the GLTF spec which you can find here
KhronosGroup/glTF#2235

I have also done a PR for three which I'm going to link to from this issue

My thoughts are the following.
Chrome recently gave up on jpeg xl which I personally thought was the superior replacement for gif, png, jpeg, webp.

The next best format after jpeg xl is avif, and since jpeg xl isn't happening I thought I could do a drive trying to improve the file size of gltf files by getting avif support.

Solution

Add the not yet merged KhronosGroup/glTF#2235 EXT_texture_avif as a supported extension.

Alternatives

WebP doesn't compress as good as AVIF.

Additional context

No response

@donmccurdy
Copy link
Collaborator

Fixed in #25173 – thank you @leon!

@donmccurdy donmccurdy added this to the r150 milestone Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants