Page MenuHomeSolus

Update libheif to 1.8.0

Authored by YakoYakoYokuYoku on Sep 14 2020, 6:17 PM.




  • Integration of rav1e encoder for faster AVIF encoding.
  • Gdk-pixbuf loader now supports AVIF decoding.
  • Color conversion adapts to nclx color profile.
  • New parameters for heif-enc to set nclx parameters.
  • Support for saving in RGB colorspace (matrix_coefficients=0) for true lossless encoding.
  • Chroma 4:2:2 and 4:4:4 encoding for HEIF.
  • Chroma 4:2:2 and 4:4:4 with AVIF, also with HDR.
  • Monochrome AVIF encoding with AOM plugin.
  • Changed AVIF bitrate control depending on quality parameter.
  • Support for AVIFs with depth images.
  • AVIF MIME type detection.
  • Update Go API for HDR images.
  • Write libheif and plugin version info to HEIF/AVIF headers.
  • Fix problems with odd image resolutions and very small image sizes.
  • Fix writing too much data into alpha channel images.
  • Lots of bug fixes and handling of corner cases.

Depends on D9652.

Signed-off-by: Martin Reboredo <>

Test Plan

Converted a JPEG image into a HEIC one (convert wp4618883.jpg drstone.heic), then into an AVIF one (convert drstone.heic drstone.avif), viewed the HEIC image in eog (the AVIF format has yet to be recognized by gdk-pixbuf) and lastly saw the thumbnails of the images in Nautilus.

Diff Detail

R4395 libheif
No Linters Available
No Unit Test Coverage

Event Timeline

YakoYakoYokuYoku requested review of this revision.Sep 14 2020, 6:17 PM
JoshStrobl accepted this revision.Sep 15 2020, 9:48 AM
JoshStrobl added a subscriber: JoshStrobl.

LGTM, thanks!

This revision is now accepted and ready to land.Sep 15 2020, 9:48 AM
JoshStrobl edited the summary of this revision. (Show Details)Sep 15 2020, 9:48 AM
This revision was automatically updated to reflect the committed changes.