• SatyrSack@quokk.auOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    12 days ago

    there was nothing wrong with png, gif, or jpg.

    WebP is definitely not a perfect solution, but GIF is absolutely full of problems. The only thing that GIF has going for it is the fact that it is universally supported by just about everything everywhere. But the two big problems are the fact that it is limited to 256 colors and is incredibly inefficient at compression. Those two facts combined mean that any given image in GIF format has a drastically higher file size than that same image in WebP, AVIF, JPEG-XL, APNG, or any other modern animated image format, while likely still having a worse image quality.

    I am hoping to see AVIF more widely adopted/supported, because GIF is definitely bloated and ready to die.

    • GreenKnight23@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      12 days ago

      hmmmm

      gifs load as images while avifs load as videos, because that’s what they are. Imagine the resources used when loading a page with 2000 avifs and you have autoplay videos enabled on your browser.

      gifs on the other hand, load one frame at a time and just cycle through each frame after they have loaded.

      I think theoretically, avif is a better solution but the applicability of them is going to be difficult to apply unilaterally like gifs.

      • SatyrSack@quokk.auOP
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        edit-2
        12 days ago

        In what way do AVIF files “load as videos”? They are image files. Your web browser renders them as images. Your Lemmy client renders them as images. It is not AVI.