I am sending my plug-in prototype for AVIF format.
AVIF is a new format which is going to be supported by Mozilla and Google Chrome browsers.
AVIF is supported by Windows10 when you install AV1 Video Extension from Microsoft store:
https://www.microsoft.com/en-in/p/av1-video-extension-beta/9mvzqvxjbq9v?activetab=pivot:overviewtab
I suggest to add support for AVIF into future releases of FreeImage.
Anonymous
This is nice, but we also need to incorporate libavif in some way as well.
Other then that, I am not sure how correct it is to modify the source image on save - do other plugins do that? This is not thread safe - save should be a "const" operation.
Is there a line-by-line API in libavif? This would be the correct way to save upside-down, other then creating a copy of course.
Looks like libheif can handle both AVIF and HEIF, why use libavif?
I have created https://github.com/mnaydenov/FreeImage-Sidecar as a small "add-on" library to load HEIF and AVIF. Because of the restrictive FreeImage license, which is not compatible with LGPL, I was forced to make the plugin stand alone and not as a path to FreeImage.