kornelski / avif-serialize

Minimal pure Rust AVIF writer (bring your own AV1 payload)
https://lib.rs/avif-serialize
BSD 3-Clause "New" or "Revised" License
20 stars 3 forks source link

Standards Compatibility #1

Open joshstoik1 opened 3 years ago

joshstoik1 commented 3 years ago

First of all, thank you for all of your amazing image work!

It looks like Chrome 91 (current beta) is requiring extra format compatibility for AVIF files. Images generated by cavif that work fine in the current Chrome stable will stop working down the road.

See e.g. https://bugs.chromium.org/p/chromium/issues/detail?id=1198455&q=avif&can=2

Running an example cavif-generated image through the AOM AVIF Validator turns up the following issues:

(I believe it is primarily the lack of "pixies" Chrome is upset about. :smile:)

I'm guessing this library (rather than ravif) is where fixes would be needed, but am unsure.

baumanj commented 3 years ago

I'm guessing you already know this, but since Chrome relies on libavif, the compliance changes come from there. If you want to stay ahead of these kinds of changes, following the libavif issues with the compliance label are probably a good way.

mp4parse-rust has similar changes which will land in Firefox soon and you can similarly follow issues with the avif and compliance labels there.