nextcloud / viewer

🖼 Simple file viewer with slideshow for media
GNU Affero General Public License v3.0
97 stars 55 forks source link

Add support for AVIF image files #407

Open jficz opened 4 years ago

jficz commented 4 years ago

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

skjnldsv commented 4 years ago

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+

XeonG commented 3 years ago

Can this be added soon

jmigual commented 2 years ago

Is there any updates on this?

szaimen commented 1 year ago

This should already be possible with the memories app iirc

cromefire commented 10 months ago

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).

cromefire commented 10 months ago

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.