strukturag / libheif

libheif is an HEIF and AVIF file format decoder and encoder.
Other
1.6k stars 292 forks source link

uncompressed: wip on generic compression #1208

Open bradh opened 2 days ago

bradh commented 2 days ago

This is from the draft Amendment 2 for ISO/IEC 23001-17. It re-uses and generalises the existing zlib support (from header compression), and adds an optional dependency on Brotli.

This version replaces #1194.

Feedback on the approach and internal API changes would be appreciated.

I still have some work to do on this:

There is no encoding support for this yet, and we'd likely need some kind of configuration option to specify that. It seems a bit premature given where the draft is up to.