Open k4r4b3y opened 3 months ago
It seems like it should be fairly easy to add avif support. We use Glide to render images, and it seems like we'd just need to add one dependency (according to https://bumptech.github.io/glide/int/avif.html) and update the "supported extensions" here: https://github.com/orgzly-revived/orgzly-android-revived/blob/master/app/src/main/java/com/orgzly/android/ui/ImageLoader.kt#L129
It seems like it should be fairly easy to add avif support. We use Glide to render images, and it seems like we'd just need to add one dependency (according to https://bumptech.github.io/glide/int/avif.html) and update the "supported extensions" here: https://github.com/orgzly-revived/orgzly-android-revived/blob/master/app/src/main/java/com/orgzly/android/ui/ImageLoader.kt#L129
Glad to hear your opinion on this. Looking forward to seeing development on the avif support.
Old Orgzly app cannot render .avif image files inline. It can, however, render .webp image files inline. Add support for rendering .avif files as inline images, too.
Avif image files offer better compression and on-par visual quality with webp format. Users would essentially get nearly-same visual quality for lower sizes in their Orgzly directories.