• MentalEdge
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    2 days 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
      ·
      2 days 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.

      • MentalEdge
        link
        fedilink
        arrow-up
        8
        arrow-down
        2
        ·
        2 days ago

        As is webp. Animated webps have been a thing this whole time.

          • dezmd@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            1 day ago

            Now we just need a Brennan Lee Mulligan flavored fully charged rant about the billionaire class of corporatists forcing webp with its patent encumbrance on us all.

            Edit: I kinda ended up channeling him after I started writing a short comment for OP that just kept going. https://lemmy.world/comment/10914387

    • BehindTheBarrier@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      2 days 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
        ·
        1 day ago

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