• Awkwardparticle@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    39 minutes ago

    Webp’s purpose is to display images on web pages in a format that allows fast loading and rendering. When a user downloads or views an image it should be served in a better format. Webp serves it’s purpose perfectly. Don’t try to download a background of a webpage with the expectation that it will be in a format that is not beneficial to the pages function.

  • Unlearned9545@lemmy.world
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    3 hours ago

    WebP has all the functionality of jpg, png, and gif while still being a smaller filesize. It has baseline support across browsers and devices. I’m no Google simp and work to de-google my family and workplace but this is a hill I will die on. Webp currently the best image file format.

    • Kilgore Trout@feddit.it
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      58 minutes ago

      It is. The sentiment comes from majority of Americans using Apple operating systems, which refused to support WebP until recently.

  • Unlearned9545@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    3 hours ago

    At this point I think Facebook messenger and internet explorer are the only ones that don’t support it. Oh and maybe the ISS.

  • Logical@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    4 hours ago

    Somewhat related: Does anyone know why so many of the images uploaded to Lemmy are GIFs? Or at least download in that format when using Sync? It’s kind of annoying because they aren’t animated, they are completely static images, and all that does is cause problems with sending them in other apps. I frequently have to download an image, take a screenshot of it, and crop it to the original size again.

  • devedeset@lemmy.zip
    link
    fedilink
    arrow-up
    2
    ·
    7 hours ago

    I actually use it for creating thumbnails for a sorta niche application. The resulting files are quite small and the quality is fine. I do remember it being a pain in the ass to deal with ~10 years ago.

  • carpelbridgesyndrome@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    20
    arrow-down
    5
    ·
    16 hours ago

    The first part is wrong. And the second part is mostly wrong. Stop whining

    Pro tip: If discord is complaing your screenshots are too large convert them to avif or webp. Now you don’t need nitro

      • GamingChairModel@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        9 minutes ago

        If you screenshot computer/phone interfaces (text, buttons, lots of flat colors with adjacent pixels the exact same color), the default PNG algorithm does a great job of keeping the file size small. If you screenshot a photograph, though, the PNG algorithm makes the file size huge, because it’s just really poorly optimized for re-encoding images that are already JPG.

      • sheogorath@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        4 hours ago

        What if I want to screenshot my cocaine-fueled rant to my ex and mistakenly send it to said ex instead of my homies?

    • Strawberry@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      3
      ·
      5 hours ago

      It’s slowly marching along with the reimplementation of its reference decoder in rust. That should hopefully satisfy google and mozilla’s demands and get them to adopt it in their browsers.

    • hperrin@lemmy.ca
      link
      fedilink
      English
      arrow-up
      20
      arrow-down
      2
      ·
      16 hours ago

      Because Google didn’t invent it, and Google decides what does and doesn’t get added to the Internet.

      • lengau@midwest.social
        link
        fedilink
        arrow-up
        6
        arrow-down
        1
        ·
        8 hours ago

        Google were literally one of the three organisations who worked on the standard, and the top contributor to the reference implementation works there.

        • hperrin@lemmy.ca
          link
          fedilink
          English
          arrow-up
          8
          ·
          edit-2
          8 hours ago

          And then they killed it. It was Google pulling support in Chrome that killed JPEG-XL’s momentum.

          It was the Joint Picture Experts Group that invented it, so Google had no ownership over it, unlike WebP.

          Google’s stance on JPEG XL is ambiguous, as it has contributed to the format but refrained from shipping an implementation of it in its browser. Support in Chromium and Chromeweb browsers was introduced for testing April 1, 2021[29] and removed on December 9, 2022 – with support removed in version 110.[30][31]The Chrome team cited a lack of interest from the ecosystem, insufficient improvements, and a wish to focus on improving existing formats as reasons for removing JPEG XL support.[29][32][30]

          - https://en.wikipedia.org/wiki/JPEG_XL

    • AnyOldName3@lemmy.world
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      edit-2
      55 minutes ago

      The compression technique it used was patented, and the licence fee was extortionate. By the time the patent expired, other, royalty-free, techniques were available that outperformed it.

  • Xylight@lemdro.id
    link
    fedilink
    English
    arrow-up
    17
    arrow-down
    1
    ·
    19 hours ago

    Yes, I would like to waste 500 KB over the wire for an image of indistinguishable quality

  • Victor@lemmy.world
    link
    fedilink
    arrow-up
    23
    ·
    23 hours ago

    I hate that Messenger doesn’t support webp. Makes sharing from Lemmy quite annoying. Signal takes webp though, no prob.

      • Victor@lemmy.world
        link
        fedilink
        arrow-up
        11
        ·
        edit-2
        19 hours ago

        I have a better solution that I found out by accident.

        So you initiate the sharing, right, then before you select the Messenger app (or whichever app that doesn’t handle webp), you click the little edit button on the image above the shareable apps. That brings up cropping and other adjustments. But from here, you can just hit the big Share button immediately to share the image practically losslessly (without cropping mistakes and such). It brings up the share thing again but this time the image will be in a shareable format, presumably PNG(?).

        Spread the word!

        (This is on Android btw.)

        • filcuk@lemmy.zip
          link
          fedilink
          arrow-up
          4
          ·
          18 hours ago

          Practically never because it’s rubbish. The only possible use is on old precision machines that don’t support newer standards, like medical imaging.

  • qaz@lemmy.world
    link
    fedilink
    English
    arrow-up
    62
    arrow-down
    6
    ·
    1 day ago

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

    • Laser@feddit.org
      link
      fedilink
      arrow-up
      31
      arrow-down
      1
      ·
      edit-2
      1 day 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
        ·
        1 day 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
          15
          ·
          1 day 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.

    • prole@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      6
      ·
      edit-2
      24 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.

    • Dr. Moose@lemmy.world
      link
      fedilink
      English
      arrow-up
      18
      arrow-down
      6
      ·
      1 day ago

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

  • mostlikelyaperson@lemmy.world
    link
    fedilink
    arrow-up
    39
    arrow-down
    3
    ·
    1 day ago

    What - doesn’t - support webp at this point? P much all maintained open source software has for years upon years, os x has for years, Android and iOS have for ages as well, even windows added support a year ago or so supposedly.

    Like are these memes made by confused time travelers?