Live data from Hacker News

How to use the next-gen open-sourced .Avif image format, 50% smaller than JPEG

reachlightspeed.com

11–20 of 31 posts

Re: How to use the next-gen open-sourced .Avif image format, 50% smaller than JPEG

#11

Earlier quoted context omitted.

FLIF seems to compress higher but to my knowledge there is no major browser support. AVIF support is scheduled for Firefox 80 and Chrome 85 by the end of this month (August 25).

Knowing nothing about the formats, why the difference in adoption?

The format was co-developed by some big tech players: Netflix, Google, Microsoft, Facebook, Mozilla

Further reading: https://www.cnet.com/news/google-mozilla-av1-photo-format-co...

Re: How to use the next-gen open-sourced .Avif image format, 50% smaller than JPEG

#13
post #12

How are the compression and decompression speeds compared to e.g. turbojpeg? Is there a poly fill js/warm decoder for older browsers?

Not sure on the compression/decompression speeds.

There is a polyfill for old browsers but our recommendation would be to use the graceful degradation of the tag which falls back to if .avif or .webp is not supported.

Re: How to use the next-gen open-sourced .Avif image format, 50% smaller than JPEG

#16
Years ago I remember seeing a progressive image format that was supposed to solve the resolution issue. The loader could stop loading as soon as it figured it had enough quality. This meant that you could have a single, large image file, that could weigh a few KB when displayed as a thumbnail.

It’s 2020 and its mind-boggling that this isn’t a standard behavior already.

Imagine right-clicking on a thumbnail and being able to natively save a 4MB file from it.

Imagine having a single that can be zoomed in all the way to 100% just like your phone’s Photos app can do, without loading the whole image beforehand.

Re: How to use the next-gen open-sourced .Avif image format, 50% smaller than JPEG

#18

It's a missed opportunity that we can't just one 1 frame AV1 files as images. Had this been anticipated we wouldn't have to push two standards and two implementations everywhere.

There are already a few formats that work just like JPEG but for modern video formats. Some of them even compress better (FLIF). They just haven't caught on at all. JPEG just has so much momentum.

Those other formats weren't developed by huge corporations who can force it into browsers through pure hegemony. That's probably a factor.

Re: How to use the next-gen open-sourced .Avif image format, 50% smaller than JPEG

#19
post #4

How does it compare with FLIF? What use cases would it excel on/have that the other wouldn't/doesn't?

FLIF seems to compress higher but to my knowledge there is no major browser support. AVIF support is scheduled for Firefox 80 and Chrome 85 by the end of this month (August 25).

Nice to note, though, is that FLIF tech will not just be thrown away. FLIF was superseded by FUIF which was then superseded by JPEG-XL. It's doesn't have as great compression in all cases as FLIF, but I'm very optimistic about JPEG-XL being a highly adopted new image format.

Re: How to use the next-gen open-sourced .Avif image format, 50% smaller than JPEG

#20

https://caniuse.com/#feat=avif Only supported by Chrome ATM.

Slated for release in Firefox 80 in less than three weeks (8/25)

And if you want to test it in current Firefox, in the about:config page, search for avif and enable it.
Post reply on HN