- User Since
- Mon, Apr 26, 1:43 AM (1 w, 5 d)
Wed, May 5
Tue, May 4
There is still an issue (I think). If imlib2 is compiled/linked with libheif<1.7.0, then weird issues may arise due to lack of convert_hdr_to_8bit decoding option. If image has > 8 bit per color (which is possible as per HEIF standard), then the wrong colors would be displayed, as it is assumed in code that each color is stored in its respective 8 bits. This would result in completely mangled image data (could not test the same, as I could not install older version of libheif to test it).
I have added HEIF file support via libheif (Maniphest task: imlib2: Native support for HEIF, and it seems to support AVIF as well, so I believe that completing HEIF support will automatically also include AVIF support.
I have implemented load2 for now, implementing save right now. Using libheif, as it covers both HEIF and AVIF itself. Here's the revision URI: https://phab.enlightenment.org/D12267