kornelski / cavif-rs

AVIF image creator in pure Rust
https://lib.rs/cavif
BSD 3-Clause "New" or "Revised" License
570 stars 27 forks source link

No way to do 8 bit encoding any more ? #69

Closed femski closed 1 year ago

femski commented 1 year ago

There is no option for 8 bit encoding anymore. My decoder crashes on 10 bit.

kornelski commented 1 year ago

For now if the image contains an alpha channel, it will still use 8 bit.

Which decoder do you use?

femski commented 1 year ago

Never mind. I figured how to get 10 bit decoder to work

I am using libavif/dav1d in web assembly and having a difficult time getting decoding to work in WASM (crashes on all images produced by avifenc and imagmagick - both based on libavif I believe)). In fact cavif/rav1e now is the only encoder that produces something reasonably good quality that works for me. New version 1.5.0 seems very fast (AVX improvement?). Thank you!

baumanj commented 1 year ago

avifenc and imagmagick - both based on libavif I believe

FWIW, I'm pretty sure imagemagick support is based on libheif