• aliser@lemmy.world
    link
    fedilink
    arrow-up
    16
    ·
    7 days ago

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

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

  • Eager Eagle@lemmy.world
    link
    fedilink
    English
    arrow-up
    220
    arrow-down
    5
    ·
    8 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
      ·
      8 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
        ·
        7 days 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
          ·
          7 days 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
        ·
        8 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
          ·
          8 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
            ·
            8 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
          ·
          8 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
      ·
      8 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
        4
        ·
        8 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
        ·
        8 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.

  • qaz@lemmy.world
    link
    fedilink
    English
    arrow-up
    71
    arrow-down
    9
    ·
    8 days ago

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

    • BunScientist@lemmy.zip
      link
      fedilink
      English
      arrow-up
      4
      ·
      7 days ago

      personally:

      • forced to be a thing by google
      • bad-ish support in some applications or places even to this day
      • always used to further reduce filesizes which means you are most of the time transcoding lossy jpgs and making them more lossy (lemmy is specially into this), which means that the alleged better quality is actually useless

      jxl would make a better replacement for this last thing since you can losslessly transcody jpgs with ~20% filesize and in my testing, pngs with ~50% (though jxl lossless decoding is cpu heavy right now), lossless transcoding also means you could keep jxls in server, then give it to the client if it supports jxl, or transcode back to jpg if they don’t (this saves bandwidth and storage at the cost of some cpu usage, but jpg transcoding is really fast and you can cache highly used images)

    • Laser@feddit.org
      link
      fedilink
      arrow-up
      41
      arrow-down
      1
      ·
      edit-2
      8 days 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
        ·
        8 days 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
          19
          ·
          8 days 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.

        • Venia Silente@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          15
          arrow-down
          4
          ·
          8 days 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.

              • hperrin@lemmy.ca
                link
                fedilink
                English
                arrow-up
                2
                ·
                7 days ago

                I didn’t say it was patent free, and the text doesn’t say “unless we say so”. It explicitly says the only way the patent grants can be revoked is if you enter patent litigation or enforcement regarding this code.

                If you or your agent or exclusive licensee institute or order or agree to the institution of patent litigation or any other patent enforcement activity against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that any of these implementations of WebM or any code incorporated within any of these implementations of WebM constitutes direct or contributory patent infringement, or inducement of patent infringement, then any patent rights granted to you under this License for these implementations of WebM shall terminate as of the date such litigation is filed.

                That is still a problem, but what I was responding to:

                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.

                is just wrong.

                I have no problem with calling out Google’s anticompetitive behaviors, even in this case, but don’t lie about it.

      • qaz@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        1
        ·
        edit-2
        8 days ago

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

        • Venia Silente@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          4
          arrow-down
          1
          ·
          8 days ago

          A file format can not, by itself, be “incompatible” with a website. What matters is the browser, and Firefox at least is adding support (slowly), and they are the ones who matter ATM.

        • Venia Silente@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          3
          ·
          8 days 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.

    • Dr. Moose@lemmy.world
      link
      fedilink
      English
      arrow-up
      19
      arrow-down
      7
      ·
      8 days ago

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

    • prole@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      9
      ·
      8 days 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.

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

  • 🇰 🌀 🇱 🇦 🇳 🇦 🇰 🇮 @pawb.social
    link
    fedilink
    English
    arrow-up
    47
    arrow-down
    4
    ·
    8 days ago

    Webp supports lossless compression. It’s even better than .PNG in that regard.

    I also have rarely found it to not work. Like the only things I can think of off the top of my head is that the basic Microsoft image viewer that comes standard on Windows won’t open them and also how some websites will force an animated .gif to be saved as a webp, making it a static image. Even though I am pretty sure webp also supports animation.

      • AirBreather@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        8 days ago

        JPEG also supports lossless compression.

        Technically, the spec does require it, but given that we’re in a thread about ecosystem support for a file format that’s approaching its 15th birthday, it’s worth considering how many image viewers will actually be able to work without the DCT step that is the essence of what typical JPEG does.

        I don’t have a Windows machine handy to test, but it’s entirely possible that maybe lossless JPEG won’t display in its default viewer.

    • shneancy@lemmy.world
      link
      fedilink
      arrow-up
      17
      arrow-down
      10
      ·
      8 days ago

      .webp has virtually no support when it comes to software/apps that can edit images, it’s always either a “file format not supported”, or absolutely no reaction or acknowledgement that you tried doing something

      • azertyfun@sh.itjust.works
        link
        fedilink
        arrow-up
        6
        ·
        8 days ago

        On windows maybe. Never ran into that on Linux. I understand it’s inconvenient but that’s not the format’s fault, it’s windows developers’.

      • Prinz Kasper@feddit.org
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        8 days ago

        Blame the software for lack of support, not the format. Webp has been around for over a decade at this point and is only growing in significance, and it’s an open source standard. No excuse for software to not support it.

  • mostlikelyaperson@lemmy.world
    link
    fedilink
    arrow-up
    44
    arrow-down
    4
    ·
    8 days 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?