• GreenKnight23@lemmy.world
    link
    fedilink
    arrow-up
    20
    arrow-down
    3
    ·
    2 days ago

    fuck webp. in-fact fuck all the new corpo sponsored standards.

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

    tinfoil hat time. all the new corpo sponsored web standards exist for one purpose, to control the development of the internet so that the corpo-overlords can continue pumping users for “value”.

    • SatyrSack@quokk.auOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      24 hours 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
        ·
        22 hours 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
          20 hours 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.

    • dev_null@lemmy.ml
      link
      fedilink
      arrow-up
      7
      arrow-down
      3
      ·
      1 day ago

      WebP is super useful. I developed an offline hiking map app and it contained 900MB of PNG map tiles. Way too huge for a mobile app. I converted them to WebP and now they take 50MB while looking the same. It’s amazing.

    • mholiv@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      2 days ago

      You got to at least like avif. Both in lossless and lossy mode it’s better than the formats from the 90s. It’s community run, patent free, faster, higher quality, and well supported.

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

          I mean if that’s your standard you need to drop quite a bit more.

          PNG was submitted by Boutell.Com, Inc (now doing payday loans)

          GIF was submitted by Compuserve Inc.

          JPEG was (in its original form) was by C-Cube Microsystems, Inc

          Avif is an open source, royalty free, better format administrated by a non profit.

          Companies (including Netflix) should be encouraged to contribute to the community under such standards.

          Open source, royalty free, better formats, administrated by a non profit Is the goal.

    • SatyrSack@quokk.auOP
      link
      fedilink
      English
      arrow-up
      18
      arrow-down
      11
      ·
      2 days ago

      This was definitely accurate at one point, but is not representive of reality today.

      • BartyDeCanter@lemmy.sdf.org
        link
        fedilink
        arrow-up
        13
        arrow-down
        1
        ·
        2 days ago

        It’s still my experience most times. I’m always quite surprised when some site that isn’t Google accepts a webp.

        • SatyrSack@quokk.auOP
          link
          fedilink
          English
          arrow-up
          3
          ·
          edit-2
          24 hours ago

          Many Lemmy instances are actually configured so that any time you upload an image file, it gets automatically converted to a WebP, so as to take up less server space. Your instance (lemmy.sdf.org) is the only Lemmy instance that I have experience with that instead actually works in the opposite direction: unless something has changed recently, if you attempt to upload a WebP file to that instance, it automatically gets converted to PNG. This behaviour is all up to how the instance admin chooses to configure their pict-rs backend.

  • Xylight‮@lemdro.id
    link
    fedilink
    English
    arrow-up
    19
    ·
    2 days ago

    AVIF is also great! if for some reason you don’t like webp because google makes it, AVIF uses AV1 which is an open codec.

    it’s also much smaller. great for web graphics

    • SatyrSack@quokk.auOP
      link
      fedilink
      English
      arrow-up
      25
      arrow-down
      16
      ·
      2 days ago

      What modern software does not support it? Sometimes animated images are only rendered as a static image of the first frame of the animation, but it is fairly universally supported nowadays.

      • MadMadBunny@lemmy.ca
        link
        fedilink
        arrow-up
        34
        ·
        2 days ago

        This, along with editing, converting is a pain, lots of 3rd party apps, websites, and forms do not support uploading them etc.

        It barely has better support, but by a couple of hairs, and only half-assed at best.

      • klu9@piefed.social
        link
        fedilink
        English
        arrow-up
        9
        ·
        2 days ago

        When I started contributing to joinfediversewiki, all my screenshot uploads failed… until I wondered if it was because they were in Webp. Fortunately the site admin added it to the approved formats for me.

        Also my (formerly) preferred screenshot tool, Ksnip, doesn’t handle Webp.

    • AnUnusualRelic@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      1 day ago

      And why does it have to be experimental anyway? It’s been supported by everything that uses the standard libraries in Linux for quite some time.

  • btsax@reddthat.com
    link
    fedilink
    arrow-up
    23
    arrow-down
    3
    ·
    2 days ago

    Yeah, let’s just hand over even more of the Internet to Google. Great idea

  • Obinice@lemmy.world
    link
    fedilink
    arrow-up
    19
    arrow-down
    3
    ·
    2 days ago

    And yet, surprisingly, I can often get a gif down to a smaller file size and better image quality than a webp file.

    Still, there’s hope for it yet if it improves!

    • Baguette@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      2 days ago

      Aren’t gifs just each individual frame bundled together? So there’s no space saving with a gif without reducing resolution

      • [object Object]@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        2 days ago

        GIF uses transparency to overlay a frame over the previous one, so colors for the unchanged pixels can be collapsed to the transparent color to get better compression.

        Of course, this is rather primitive compared to anything invented since MPEG-2.

        • Baguette@lemmy.blahaj.zone
          link
          fedilink
          arrow-up
          2
          ·
          1 day ago

          Huh the more you know

          Always thought gif was essentially implemented as a slideshow and that modern codecs implement all the space saving that gif doesn’t

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

        I think they can be a little more complex than that. When creating a GIF in GIMP, there is a function to “Optimize” which gets rid of redundant pixels that are the exact same on multiple frames (or something like that). Whatever it does, it definitely reduces the final file size. Any time I make an animation that has to be a GIF file for whatever reason, I try to make it in GIMP to make use of that feature.

        https://docs.gimp.org/3.0/en/plug-in-optimize.html

    • PodPerson@lemmy.zip
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      1 day ago

      SVG is a vector format that’s completely inappropriate for photographic-type stuff.