Skip to content

Add support for AVIF image files #407

Closed
nextcloud-libraries/nextcloud-viewer
#50

Description

@jficz

What file type
image/avif

What application is using it
Not too many yet.

Please attach a sample file here (or a direct external link to one)
avif sample file

Browser support isn't full yet but there's https://github.com/Kagami/avif.js for instance which works just fine.

AVIF-compressed files can also be embedded inside HEIF containers so support might also be added as part of #4

Activity

  1. added
    0. Needs triagePending approval or rejection. This issue is pending approval.
    enhancementNew feature or request
    on Feb 27, 2020
  2. skjnldsv commented on Feb 27, 2020

    @skjnldsv
    Member

    Supported browsers

    With native decoder:

    Chrome Desktop 70+
    Firefox 63+ (with media.av1.enabled activated)
    Firefox for Android 64+ (with media.av1.enabled and media.av1.use-dav1d activated)
    Edge 18+ (with AV1 Video Extension installed)
    Bromite 71+

    With AV1 polyfill:

    Chrome 57+
    Firefox 53+
    Edge 17+
    Safari 11+

  3. added
    1. to developAccepted and waiting to be taken care of
    and removed
    0. Needs triagePending approval or rejection. This issue is pending approval.
    on Feb 27, 2020
  4. XeonG commented on Jan 16, 2021

    @XeonG
  5. jmigual commented on Oct 21, 2022

    @jmigual
  6. szaimen commented on Mar 7, 2023

    @szaimen
    Contributor

    This should already be possible with the memories app iirc

  7. cromefire commented on Dec 23, 2023

    @cromefire

    Nope doesn't find it as an image it seems.

    Even if there was no resizing or previews or anything available yet it would still be nice to at least see the current image in all supported browsers (which is any browser except Edge right now which will finally enable it in January).

  8. cromefire commented on Dec 24, 2023

    @cromefire

    Supported browsers

    With native decoder:

    Chrome Desktop 70+
    Firefox 63+ (with media.av1.enabled activated)
    Firefox for Android 64+ (with media.av1.enabled and media.av1.use-dav1d activated)
    Edge 18+ (with AV1 Video Extension installed)
    Bromite 71+

    With AV1 polyfill:

    Chrome 57+
    Firefox 53+
    Edge 17+
    Safari 11+

    Starting with the next edge version if everything goes according to plan, every major browser will have avif support natively. So I guess the polyfill shouldn't be needed anymore.

  9. jlHertel commented on Mar 12, 2025

    @jlHertel

    Is there any update on this?
    All Major browsers seem to support AVIF now and there is even an open PR adding the required support here: #1973

  10. marked AVIF Support photos#1532 as a duplicate of this issue on Apr 18, 2025
  11. moved this from To triage to Backlog in 🧑‍🤝‍🧑 Community triageon Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    1. to developAccepted and waiting to be taken care ofenhancementNew feature or requestfile support requestRequest support for a new mime type

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions