Avif is able to serve better image quality at much lower file size.
Steps to Reproduce:
Try loading a avif file.
It fails (unsupported image format)
It loads and works like every other image.
User Profile Reset: No
Valid request, setting to NEW.
But according to bug 114533 the developers have been reluntant to add support for new image formats unless there are compelling reasons. So keep that in mind.
AVIF support makes sense, but let's wait for better tooling support and a more wide-spread support in apps.
Love to see it.
As a counter point to MPEG's HEIF format, the patent & royalty free FOSS AVIF image format with AV1 compression is gaining acceptance and would be useful in LibreOffice as an additional bitmap image *import* filter.
If widely accepted, then potentially AVIF could become an additional bitmap image *export* filter (to supplement BMP, GIF, TIFF, JPEG, and PNG) if we can provide an encoder.
Might get there quicker if able to implement complete AV1 encoder in an effort for a "full motion" export format for Impress presentations, and address bug 34959
Looks like AVIF is AV1, described here https://en.wikipedia.org/wiki/AV1. Don't see LibreOffice compete with streaming platforms where this codec is used. But no objection UX-wise.
This is "not our bug" - LibreOffice itself doesn't deal with video itself, it rather offloads that to gstreamer (linux) or windows directX/Directshow based codecs and AV-foundation stuff on mac. (and there's an vlc backend as well).
so it is more about installing proper codecs on your mac/win/linux box/relies on those frameworks adding support for it. LibreOffice itself doesn't do audio/video processing.
AVIF is an image format, not video. But its true that its related to AV1.
Similar to HEIF (image) and HEVC (Video) or JPEG (image) and MJPEG (video).
(In reply to Christian Lohmaier from comment #5)
> This is "not our bug" - LibreOffice itself doesn't deal with video itself,
> it rather offloads that to gstreamer (linux) or windows directX/Directshow
> based codecs and AV-foundation stuff on mac. (and there's an vlc backend as
> so it is more about installing proper codecs on your mac/win/linux
> box/relies on those frameworks adding support for it. LibreOffice itself
> doesn't do audio/video processing.
No, we are *not* talking about embedding or generating an Alliance for Open Media AV1 encoded video stream.
Rather AVIF is a static raster bitmap, comparable to GIF, PNG or JPEG. An LO import filter for the format is reasonable, especially as AVIF gains broader acceptance for frame grabs (as AOM AV1 encroaches on the MPEG market).
A LO Bitmap export to AVIF raster would not be a priority. But would expect that if LO were to make any progress on bug 34959 and possibly make use of an AV1 encoder (i.e. libaom) to render presentations to HEIF video, that AVIF bitmap export would come along with the effort.
This is for read only filter import of the AVIF raster image format.
I first learned about the format here and I think it is a good intro: https://jakearchibald.com/2020/avif-has-landed/