Open CryZe opened 4 months ago
Turns out that while there's pure Rust AVIF encoding, there's no AVIF decoding in pure Rust. That basically blocks the entire issue for now.
I checked this out again, because it seems like rav1d is making decent progress. I was able to encode AVIF in the web version, where decoding isn't necessary anyway, because the browser will decode it for us. While there's definitely significant size wins, the encoding speed is really bad. Turns out that we can just bump the quality of the PNG compression that we do. While it doesn't get us to the compression level of AVIF, it still stays fast enough that I ended up merging that: #817
AVIF is now supported by all browsers and is generally the better format. We should look into supporting it and maybe even making it our default format. We'd need to have some compatibility support for the original LiveSplit though.