Open Tachi107 opened 3 years ago
We could use imagecodecs. It uses libavif. Do you want the option to use avif instead of jpegs for thumbnails or do you just want it to be able to read it?
Having the possibility to read AVIF pictures would certainly be nice, but I think that using AVIF as the default image format instead of Jpeg would be ideal, since it occupies less space, supports things like transparency and doesn't have any licensing issues. On the other hand AVIF is probably too young, and using it by default could cause compatibility issues. In my opinion just being able to read AVIF files would be a good start, and maybe you could reconsider the switch later.
Avif isn't supported by all browser, so we now use webp instead.
Any plans to support AVIF? libavif can easily convert JPEGs and PNGs in AVIF images, but it is written in C, and I don't know how well it would integrate with LibrePhotos.