• aliser@lemmy.world
    link
    fedilink
    arrow-up
    15
    ·
    1 day ago

    it supports transparency and produces small file sizes compared to PNG while looking pretty similarly. fuck Microsoft in particular for not supporting it.

  • Unlearned9545@lemmy.world
    link
    fedilink
    arrow-up
    32
    arrow-down
    2
    ·
    2 days 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.

    • Zetta@mander.xyz
      link
      fedilink
      arrow-up
      11
      ·
      1 day ago

      If loser companies would support it I’d say AV1 Image File Format (AVIF) is the best.

    • Dumhuvud@programming.dev
      link
      fedilink
      English
      arrow-up
      11
      ·
      1 day ago

      Webp currently the best image file format.

      Out of the widely supported ones, it’s quite good, yeah. Overall, I’d say JPEG XL is the better one. Ironically, only Safari supports it out of the box. Firefox requires a Nightly version with tweaking in about:config. Chrome used to have a feature flag, but has since removed it.

      • fdnomad@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        1 day ago

        The website mentions

        Migrating to JPEG XL reduces storage costs because servers can store a single JPEG XL file to serve both JPEG and JPEG XL clients.

        Does anyone know how that works?

      • brachypelmide@lemmy.zip
        link
        fedilink
        arrow-up
        1
        ·
        1 day ago

        I think compatibility was also being taken into account here. When not looking at compatibility, JXL is the best hands down. It’s criminal how little software supports it.

    • Kilgore Trout@feddit.it
      link
      fedilink
      arrow-up
      9
      arrow-down
      1
      ·
      1 day ago

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

  • Awkwardparticle@programming.dev
    link
    fedilink
    arrow-up
    13
    arrow-down
    2
    ·
    1 day 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.

      • KubeRoot@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 day ago

        I believe they’ve made the point that it’s not chrome’s fault, but the site’s/user’s - images displayed on websites should be webp to benefit from optimizations for displaying images, but download links should be a different format. The error would be either the user downloading the images from the display instead of the download (including from sites that do not offer images for downloading purposes?), or the website not including separate versions for download where relevant.

        I’m not necessarily sure if that’s a good take, but that’s my interpretation of what’s being said.

  • Unlearned9545@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    2 days 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.

    • Something Burger 🍔@jlai.lu
      link
      fedilink
      arrow-up
      2
      ·
      1 day ago

      WebP was created in 2010, and the ISS switched to Linux in 2013. So there is a possibility that at least one piece of software that’s running up there supports WebP.

  • carpelbridgesyndrome@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    31
    arrow-down
    6
    ·
    2 days 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
        3
        ·
        1 day 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.

        • NateNate60@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          6 hours ago

          I took a screenshot of this page

          (Screenshot removed because it takes forever to load and is not interesting enough to waste bandwidth on)

          I am connected to a 4K monitor and this picture is also at 3775 × 2119. The total file size:

          12.1 MB

          • GamingChairModel@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            5 hours ago

            Still a pretty limited palette, everyone wearing the same color shirts.

            PNG tends to fail hard with textures. For example, my preferred theme in my chess app, which has some wood grain textures, generates huge screenshot file sizes (2MB), whereas the default might be less than 10% as large. Similarly, when I screenshot this image the file size jumps to 2MB for a 0.8 megapixel image.

            Rendered textured scenes could easily overload the PNG compression algorithm to where they’re huge, and if Discord is historically associated with gaming, one can imagine certain video game screenshots blasting past that 40mb limit.

      • sheogorath@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        2 days 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
      7
      ·
      2 days 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
      28
      arrow-down
      4
      ·
      2 days 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
        12
        arrow-down
        1
        ·
        2 days 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
          15
          ·
          2 days 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

          • GamingChairModel@lemmy.world
            link
            fedilink
            arrow-up
            4
            ·
            1 day ago

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

            No, JPEG called for submission of proposals to define the new standard, and Google submitted its own PIK format, which provided much of the basis for what would become the JXL standard (the other primary contribution being Cloudinary’s FUIF).

            Ultimately, I think most of the discussion around browser support thinks too small. Image formats are used for web display, sure, but they’re also used for so many other things. Digital imaging is used in medicine (where TIFF dominates), print, photography, video, etc.

            I’m excited about JPEG XL as a replacement for TIFF and raw photography sensor data, including for printing and medical imaging. WebP, AVIF, HEIF, etc. really are only aiming for replacing web distributed images on a screen.

            • hperrin@lemmy.ca
              link
              fedilink
              English
              arrow-up
              3
              ·
              edit-2
              1 day ago

              So Google contributed to it, but ultimately didn’t invent it and doesn’t own it. In other words, what I said.

              As opposed to WebP, which not only do they own, they also own several patents for that cover the entire bitstream. They offer a patent license that is conditional on not suing them. So they basically own and control WebP entirely. They do not own, nor do they control, JPEG-XL. Google owns patents that cover a portion of JPEG-XL, but don’t have full control.

    • AnyOldName3@lemmy.world
      link
      fedilink
      arrow-up
      2
      arrow-down
      3
      ·
      edit-2
      1 day 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.

  • Eager Eagle@lemmy.world
    link
    fedilink
    English
    arrow-up
    218
    arrow-down
    5
    ·
    3 days ago

    webp is a fine format, blame the websites that disallow webp upload, but then proceed to convert the image to webp anyway

    • Jean-luc Peak-hard@piefed.social
      link
      fedilink
      English
      arrow-up
      44
      arrow-down
      2
      ·
      3 days ago

      its interesting to me that this is only really an issue on proprietary OS’s (mac/windows) as i’ve never had an issue with any image or video formats when using linux. i use all three but linux is my primary OS. mac/windows mostly stay at work.

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

        OS doesn’t affect what web servers accept webp, which is 90% of the use case for most people. The vast majority of people use computers as a web browser only

        • Jean-luc Peak-hard@piefed.social
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 day ago

          That’s true, but its not always about the server, people tend to download images/memes/etc with the intent to edit/share. If you were on macos and happened to download a webp image in the 10 years that Apple didn’t support them, you were in for some googling and/or frustration.

      • guynamedzero@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        10
        arrow-down
        1
        ·
        3 days ago

        I grew up on macOS, until a few years ago where I actually had my own personal computer for the first time, which had windows pre installed, so i used that and like it a lot more than macOS, i just felt so much more free, and the general workflow felt more intuitive to me, then, early this year, i switched to Linux and there’s no way in hell I’ll ever go back. In just a couple months I learned more about how computers worked than I did over something like 12 years of using computers as a teen. It’s really crazy to me how once you get something set up on Linux, it just works, and all of the documentation is open and detailed!

        • AnUnusualRelic@lemmy.world
          link
          fedilink
          arrow-up
          6
          ·
          2 days ago

          While all of that is true, the thing is that most people just don’t care. They just use two or three programs (poorly) and don’t really care about the underlying system, never mind the computer. That’s why windows is so entrenched.

          • hornywarthogfart@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            3
            ·
            2 days ago

            Windows is mostly so entrenched because Microsoft applied monopolistic practices in the 90’s to ensure it was the most used operating system thereby cementing their place for decades to come.

            Then, they applied monopolistic practices in the cloud industry to ensure vendor lock-in at the OS level with their most popular services (like Office).

            You are right that most people just don’t care though. I don’t blame them, there is enough stress in the world.

        • Jean-luc Peak-hard@piefed.social
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          1
          ·
          2 days ago

          yeah macOS supports webp now (since ~2020), but it lacked support for a decade, causing frustration for its users and anyone trying to support macOS/Safari.

    • reddig33@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      2
      ·
      3 days ago

      DAT and DDC were great as well. Beta too. But sometimes good enough (like JPG and VHS) is good enough.

      • ZILtoid1991@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        2 days ago

        Yeah, let’s stick with obsolete (JPEG) formats, so no one needs to improve their loaders (very hard), and people can continue to use that funny video editor that came with some old version of Windows without converters (very evil, Irfanview does not have the same meme potential as WinRAR).

      • vrighter@discuss.tchncs.de
        link
        fedilink
        arrow-up
        4
        arrow-down
        3
        ·
        3 days ago

        betacam was better than vhs, and was used in the broadcasting industry. It was better than vhs.

        Betamax, which is the one you’re talking about, is not the same format, and actually equal to or slightly inferior to vhs.

  • devedeset@lemmy.zip
    link
    fedilink
    arrow-up
    6
    ·
    2 days 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.

        • filcuk@lemmy.zip
          link
          fedilink
          arrow-up
          7
          ·
          2 days 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.