This release introduces support for new compression formats:
- JPEG in HEIF
- JPEG2000
It contains these new codec plugins:
- Kvazaar encoder (HEIC) as alternative to x265
- ffmpeg decoder (HEIC) decoding with potential hardware decoder support
- jpegdec, jpegenc codecs for JPEG in HEIF
- j2kdec, j2kenc codecs for JPEG-2000 in HEIF (still experimental)
Moreover:
- added support for region masks
- added support for alpha channels in images decoded with JS/WASM
heif-enc
andheif-convert
can be called with only input filenames, input and output filename, or with-o
option. This makes the use of the two commands more consistent.- added 4:2:2 <-> 4:4:4 color conversion with bilinear upscaling / average filtering
Some more notable changes:
- heif_context_get_image_handle() can now also access non-top-level images
- add script to build Android libraries for all platforms
- again, known bugs have been fixed
Thank you everyone who contributed with code or issue reports. Special thanks go to @bradh for work on the regions support and the uncompressed codec, to @dukesook for his work on JPEG2000 support, to Pierre-Anthony for our discussions on interpreting the JPEG2000-in-HEIF standard, to @Edi61 for providing the ffmpeg decoder plugin, to @fancycode who will again do the Debian packaging, and to @kmilos for continuously reporting and fixing compilation and configuration issues.