eXeC64/imv

Support AVIF image format

Opened this issue · 3 comments

Something like libavif with dav1d could give imv support for AVIF images, the spiritual successor to WebP. It supports lossless and lossy compression based on the AV1 video codec.

imv optionally uses FreeImage backend. I made a plug-in for FreeImage with AVIF support:
https://sourceforge.net/p/freeimage/patches/137/
libavif is quite easy to use anyway but you can choose which way is more convenient to implement.

I wanted to suggest adding AVIF support too.

imv can link against libheif now. On some distributions, libheif can use libaom and rav1e to handle avif images.

If you build imv on Fedora 33 against libheif, for instance, imv can open avif images.

In other words, imv just got avif support for free. This isn't perfect; I don't think libheif links against libdav1d (the fastest AV1 decoder), but rav1e and libaom are generally fast enough at decoding a single image.

imv can link against libheif now. On some distributions, libheif can use libaom and rav1e to handle avif images.

If you build imv on Fedora 33 against libheif, for instance, imv can open avif images.

In other words, imv just got avif support for free. This isn't perfect; I don't think libheif links against libdav1d (the fastest AV1 decoder), but rav1e and libaom are generally fast enough at decoding a single image.

rav1e is an encoder, not a decoder.