• qaz@lemmy.world
    link
    fedilink
    English
    arrow-up
    49
    arrow-down
    4
    ·
    13 hours ago

    I really don’t get the WebP hate, it’s a good format. It’s better than PNG and JPG.

    • prole@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      7 hours ago

      PNG is lossless, so isn’t that like comparing apples to oranges?

      Edit: Apparently webp can also be lossless. I don’t know anything.

        • Venia Silente@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 hours ago

          It does, yes, but from what I gather it’s rather difficult to actually encode such an animated image compared to, say, a GIF. Display should work just fine.

        • Venia Silente@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          3
          ·
          6 hours ago

          Open is not the same as patent-free, the two things can coexist (and they do in the case of webp).

          It’s open to write the code, but in order to be authorized to use it you have to get a permit from Google. You can’t eg.: fork from Firefox and use their permit (as you implicitly could with patent-free). Plus, Google can rescind their patent grant at any point, which they are bound to do once they secure ownership of the internet.

      • qaz@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        6 hours ago

        Yes, but that is actually almost “incompatible with every app and website”

    • Laser@feddit.org
      link
      fedilink
      arrow-up
      25
      arrow-down
      1
      ·
      edit-2
      11 hours ago

      Though you couldn’t set the bar any lower without it turning into a joke.

      Anyhow, to quote Wikipedia:

      Comparing different encodings (JPEG, x264, and WebP) of a reference image, she stated that the quality of the WebP-encoded result was the worst of the three, mostly because of blurriness on the image. […] In October 2013, Josh Aas from Mozilla Research published a comprehensive study of current lossy encoding techniques and was not able to conclude that WebP outperformed JPEG by any significant margin

      All while having significantly increased complexity. The blurriness problem was inherited from the video codec webp was based on. When you can’t beat an 18 years old format, don’t be surprised when people get irritated when you use your position to get it mandated into a standard, while later stalling actual improvements (JPEG XL).

      • lemmyknow@lemmy.today
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        9 hours ago

        Is JXL in actual use? Is it supported? I reckon it’s quite new, innit? D’you happen to.know how it compares to its peers?

        • Laser@feddit.org
          link
          fedilink
          arrow-up
          5
          ·
          8 hours ago

          It’s not supported by either Chromium or Firefox, which is part of the issue (Google basically decided against it with arguments that are much better suited against WebP, which they pushed some years ago).

          There aren’t that many static image codec comparisons, for example there is https://giannirosato.com/blog/post/image-comparison/. https://afontenot.github.io/image-formats-comparison/ doesn’t even include WebP because the test suite uses features unsupported by it (YUV 4:4:4). In the ones I do find, WebP usually wins against good JPEG at low bitrates, but loses on high bitrates because of the blurriness issue. They both get beaten by JPEG XL and AVIF. Which one is better probably depends on whom you ask. The before linked comparison prefers JPEG XL by a slim margin, https://tonisagrista.com/blog/2023/jpegxl-vs-avif/ strongly favors JPEG XL.

    • Dr. Moose@lemmy.world
      link
      fedilink
      English
      arrow-up
      15
      arrow-down
      4
      ·
      12 hours ago

      It’s just tech illiterate being “oh no my image program not open this 10 year old new format”