Description: Avif is able to serve better image quality at much lower file size. Steps to Reproduce: Try loading a avif file. Actual Results: It fails (unsupported image format) Expected Results: It loads and works like every other image. Reproducible: Always User Profile Reset: No Additional Info: .
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 > 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. 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/
Now that WebP is officially supported by LibreOffice 7.4, it might be a good moment to revisit AVIF support. AVIF is the image format derived from AV1 (just like WebP is derived from the VP8 video codec). Supporting open formats should be important to Open Source software the likes of LibreOffice.
(In reply to Pieter de Bruijn from comment #9) > Now that WebP is officially supported by LibreOffice 7.4, it might be a good > moment to revisit AVIF support. AVIF is the image format derived from AV1 > (just like WebP is derived from the VP8 video codec). Supporting open > formats should be important to Open Source software the likes of LibreOffice. Note comment 2. Even browser support is not complete for the major ones: https://caniuse.com/avif No support yet in MS Edge or Apple Safari. As the support is not wide-spread in browsers, it means web developers can't use AVIF without a fallback to some other image format. Thus it is unlikely that users would face problems copying & pasting web content to LibreOffice, for example. So it seems there is no hurry for the next LibreOffice version to support it. Of course, if someone feels it would be cool to work on the feature, it would be welcomed.
(In reply to Buovjaga from comment #10) > (In reply to Pieter de Bruijn from comment #9) > > Now that WebP is officially supported by LibreOffice 7.4, it might be a good > > moment to revisit AVIF support. AVIF is the image format derived from AV1 > > (just like WebP is derived from the VP8 video codec). Supporting open > > formats should be important to Open Source software the likes of LibreOffice. > > Note comment 2. > > Even browser support is not complete for the major ones: > https://caniuse.com/avif 71%, but Apple has full support nowadays, so the list is incomplete/old: https://www.cnet.com/tech/mobile/apple-endorses-new-avif-photos-for-a-faster-web-on-ios-16/ > No support yet in MS Edge or Apple Safari. Safari (MacOS and iOS) do support AVIF. MS Edge is the only one not yet supporting AVIF; but Microsoft is now a member of Alliance for Open Media (the organisation behind AV1 and AVIF) so that will be forthcomming.
(In reply to Pieter de Bruijn from comment #11) > (In reply to Buovjaga from comment #10) > > Even browser support is not complete for the major ones: > > https://caniuse.com/avif > 71%, but Apple has full support nowadays, so the list is incomplete/old: > https://www.cnet.com/tech/mobile/apple-endorses-new-avif-photos-for-a-faster- > web-on-ios-16/ > > > No support yet in MS Edge or Apple Safari. > Safari (MacOS and iOS) do support AVIF. If you look at the footnotes in the caniuse page, they have "Only available on macOS 13 Ventura or later" macOS 13 final release will be out in the fall. Safari 16 is still in technology preview status. The fact remains: any web dev using exclusively AVIF images would be shooting themselves in the foot right now.
Hey folks! With the release of iOS 16 + MacOS Ventura I was excited to add support for AVIF images to my app. While yuv420 and yuv444 AVIF images seem to work well, I've found that yuv422 images don't render for me. You can find some examples in the official AOMediaCodec repo: https://github.com/AOMediaCodec/av1-avif/tree/master/testFiles/Link-U Example: https://github.com/AOMediaCodec/av1-avif/blob/master/testFiles/Link-U/fox.profile2.10bpc.yuv422.avif Does Apple and/or WebKit not support these types of AVIF images? Is the set of allowed encodings documented somewhere? Or is this a bug?
(In reply to Logan Shire from comment #13) > Does Apple and/or WebKit not support these types of AVIF images? Is the set > of allowed encodings documented somewhere? Or is this a bug? As you say yourself, in Safari they are supported on macOS Ventura. Check the caniuse page, still no support in Edge.
@Buovjaga they are partially supported -- I am able to get 4:2:0 and 4:4:4 AVIF images to work but not 4:2:2 images.
How would one assist in this endeavor? I'd love to see this enhancement.
Consider moving to 7zip ZSTD compression, and adding support for JPEG XL and AVIF.
Adding this link as a reference for: "AVIF" user post on 2021-02-07 (to broaden the scope of the discussion): [1] https://blog.documentfoundation.org/blog/2021/02/03/libreoffice-7-1-community/