• MentalEdge@sopuli.xyz
      link
      fedilink
      arrow-up
      7
      ·
      edit-2
      6 months ago

      Yeah it uses the AV1 video codec for compression. Which go figure, works really well for images, too! And the format can do animated images, too.

      • boonhet@lemm.ee
        link
        fedilink
        arrow-up
        8
        ·
        6 months ago

        Cool, a replacement for GIFs too.

        Next you’ll tell me you can add sound to it and make AVIFs with sound, won’t you?

        spoiler

        Someone once said something to the tune of “Imagine if GIFs could have sound”, to which people pointed out that those are just called videos.

      • BehindTheBarrier@programming.dev
        link
        fedilink
        arrow-up
        3
        ·
        6 months ago

        I actually decided to use avif on my project. But both this and webp is as fast as I know, not supported in any default image viewer on windows. Which is rater annoying, but I moved on to better programs for tgat anyways.

        Avif is second to jxl though, some of the downsides of being a video format is that you loose progressive loading (only top to bottom iirc), degrades on re-encodes, and some other things I can’t think of. Avif gets a win because if you have a av1 decoder you already have a avif decoder too! But since it is a video frame essential there are some downsides since some image specific features can’t or won’t be added.

        • uis@lemm.ee
          link
          fedilink
          arrow-up
          2
          ·
          6 months ago

          Also if you have video in AV1, you can rip out Group Of Frames from it and package in avif without any loss.