• Fiona@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    28
    arrow-down
    1
    ·
    1 day ago

    webp is absofuckinglutely inferior to JPEG-XL and that one is where you actually have that problem. I’m literally providing an avif-fallback on my website, because otherwise pretty much no browser would support anything.

    (Speaking of it, avif is also superior to webp.)

  • phantomwise@lemmy.ml
    link
    fedilink
    English
    arrow-up
    15
    arrow-down
    7
    ·
    edit-2
    1 day ago

    Wait am I the only one who actually likes WEBP and is cheering for JPEG to finally die ? 😭

    • Overshoot2648@lemm.ee
      link
      fedilink
      arrow-up
      13
      ·
      21 hours ago

      Webp can die. JpegXL is better in every metric and can losslessly compress existing jpeg images. The chromium team has been notably trying to kill JXL because they spent so much time on AVIF and Webp despite neither offer anything close to JXL.

    • JigglySackles@lemmy.world
      link
      fedilink
      arrow-up
      6
      arrow-down
      8
      ·
      1 day ago

      If webp didn’t come from google I might cheer it. I refuse to adopt any standard made by google if I can help it. If google made it, they made it with some reason or ability to alter it that’s nefarious and anti consumer. They wouldn’t make an improved open standard that wasn’t going to allow them to do shady shit.

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

        They made it because better image compression means less storage is required for images. Even if it’s a small upgrade, over trillions of images or exabytes of data saved translates into millions of dollars saved. This is the same thing for the delta format as another example

        By making .webp an open standard, more people will use it, thus more space savings will be had by default

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

            I’m sure Google literally doesn’t care, as long as a more effective compression algorithm is used. That’s why they made it an open standard, use whatever you want but don’t demonize .webp unnecessarily

            • tempest@lemmy.ca
              link
              fedilink
              arrow-up
              2
              ·
              5 hours ago

              Use whatever you want, but remember Google gets to decide what Chrome supports and if Chrome doesn’t support it…

            • Raltoid@lemmy.world
              link
              fedilink
              English
              arrow-up
              2
              arrow-down
              1
              ·
              10 hours ago

              I’m sure google doesn’t …

              Said everyone who’s never experienced google doing google things.

  • TriflingToad@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    16
    ·
    1 day ago

    for my use cases of memes or a PowerPoint type thing once in a while for school. Literally any image format works for me. I don’t care about quality (as long as it’s not REALLY bad) and just want to get the image from Google to the PowerPoint, and somehow GOOGLES own image format fails to work for GOOGLES PowerPoint product.
    I don’t understand how you can not support your own format 10 years after it came out.

    pro tip by the way, you can open it in Microsoft paint then “save as -> .PNG” to get Google slides/whatever to accept it.

    (before someone recommends alternatives, im talking about use on a locked down school computer. I can’t use alternative software that’s better because they block images in WIKIPEDIA, no shot for using an actual foss software lmao)

    • dual_sport_dork 🐧🗡️@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      1
      ·
      1 day ago

      use on a locked down school computer.

      Shift + Win + S

      I’ll bet they didn’t disable that in Group Policy. Lasso that sumbitch right off your screen and then just paste it into whatever.

    • Tigeroovy@lemmy.ca
      link
      fedilink
      arrow-up
      2
      ·
      1 day ago

      You don’t even have to open it in Microsoft paint, you can just save it as a new format from the standard image viewer software.

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

      Plus, it makes a bunch of users resort to adding extensions to their browser such as

      “Save webP as PNG or JPEG 1.5.4”

      which is fine but absolutely not as secure as without extensions.

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

    in my honest opinion, it’s a real shame that webp isn’t widely supported. it’s actually really great: it has awesome lossless compression, it’s so much smaller than a png while not losing any quality, it supports animation and loops, etc. it’s like jpg, png, and gif rolled into one format.

  • skisnow@lemmy.ca
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 day ago

    The giant jpeg square artefact on the side of Homer’s head in the first frame undermines the message somewhat.

  • Olissipo@programming.dev
    link
    fedilink
    arrow-up
    60
    arrow-down
    1
    ·
    edit-2
    2 days ago

    I’m working on a project which generates images in multiples sizes, and also converts to WEBP and AVIF.

    The difference in file size is significant. It might not matter to you, but it matters to a lot of people.

    Here’s an example (the filename is the width):

    Also, using the <picture></picture> element, if the users’ browsers don’t support (or block) AVIF/WEBP, the original format is used. No harm in using them.

    (I know this is a meme post, but some people are taking it seriously)

    • HeyListenWatchOut@lemmy.world
      link
      fedilink
      English
      arrow-up
      16
      ·
      2 days ago

      I’ve mentioned this topic in regards to animated images, but don’t see as big a reason to push for static formats due to the overall relatively limited benefits other than wider gamut and marginally smaller file size (percentage wise they are significant, but 2KB vs 200KB is paltry on even a terrible connection in the 2000s).

      What I really wish is that we could get more browsers, sites, and apps to universally support more modern formats to replace the overly bloated terribly performing and never correctly pronounced animated formats like GIF with something else like AVIF, webm, webp (this was a roughly ~60MB GIF, and becomes a 1MB WEBP with better performance), or even something like APNG…

      Besides wider gamut, and better performance, the sizes are actually significant on all but the fastest connections and save sites on both storage and bandwidth at significant scale compared to the mere KB of change that a static modern asset has.

      This WEBP is only 800KB but only shows up on some server instances since not every Lemmy host supports embedding them :

      • Olissipo@programming.dev
        link
        fedilink
        arrow-up
        4
        ·
        edit-2
        2 days ago

        but 2KB vs 200KB is paltry on even a terrible connection in the 2000s).

        You still need to resize the images and choose the right ones (even if only for the device’s performance).

        So we might as well do that small extra step and add conversion to the process.

        What I really wish is that we could get more browsers, sites, and apps to universally support more modern formats to replace the overly bloated terribly performing and never correctly pronounced animated formats like GIF with something else like AVIF, webm, webp (this was a roughly ~60MB GIF, and becomes a 1MB WEBP with better performance), or even something like APNG…

        Isn’t that the users’ fault? And of the websites for allowing those huge GIFs.

        Apparently browsers have supported MP4 for a long time.

        https://caniuse.com/mpeg4

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

          How are you auto converting images to webp?? What is this magic. My company uses Visual Studio 2022 and our creative guy is having to save everything manually in multiple formats. Then our devs put in the webp first with a jpeg fallback, but it’s all so manual.

          • Olissipo@programming.dev
            link
            fedilink
            arrow-up
            3
            ·
            edit-2
            1 day ago

            Funny you call it magic, what actually does the conversion is Imagick.

            In my project I have it integrated in the upload process. You upload a PNG/JPG and it does its thing. Since it’s written in PHP (my project), and PHP has an extension to call Imagick, I didn’t need to write any complicated code.

            You can see on this page if your programming language of choice has any integration with Imagick.

            But there’s always the command line interface. Depending on your process it may be easier to create a script to “convert all images in a folder”, for example.

      • Aux@feddit.uk
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        2
        ·
        22 hours ago

        Because jxl is a bunch of bollocks. There’s no way it will gain any support any time soon.

      • AdrianTheFrog@lemmy.world
        link
        fedilink
        English
        arrow-up
        7
        ·
        edit-2
        2 days ago

        Webp is supported in browsers. Jxl is not, unfortunately.

        (Well, I have the Firefox extension for it, but most people can’t see them…)

        People should still use it tho, with the fallback of webp or avif

        • ILikeBoobies@lemmy.ca
          link
          fedilink
          arrow-up
          4
          ·
          edit-2
          2 days ago

          Firefox just hasn’t enabled the setting (well they haven’t made the setting enable jxl support yet even though the setting and support has been there for years). This means their forks support it, that’s why I switched to Waterfox

          Safari supports it

          Chromium removed support for it 2 years ago to push webp but it’s just a reminder to not use Chromium browsers

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

      I’m mad tho! I have technical issues with a format that works for hundreds of millions of users daily with the only impact being their website loads faster! RAGE!

    • Fabian@lemmy.zip
      link
      fedilink
      arrow-up
      2
      ·
      2 days ago

      I don’t know if the client is the issue, but I am using the Voyager android app and this image failed to load

        • Aux@feddit.uk
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          1
          ·
          22 hours ago

          There are no browsers with jxl support and won’t be for many years to come.

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

          So you have no hard proof (no critic here, I’m just curious)? Not that it’s better but that your test images has the same quality.

          For the rest, thank you for the links and the time but that only explains how the compression works.

          If you want to know you could do fourier transform and see which kind of signals are cut out in one for example.

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

            Quality improvements are that you can upload/download it without getting artifacts/pixel bleeding. JXL’s algorithm ensures that it’s a 1 to 1 transfer

            But if I draw a stick person 512x512, there isn’t an image format that will make it anymore than it is. That’s why we look at compression

      • Olissipo@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        2 days ago

        For most of the images that I tried you can only see differences with the images side by side. It’s really subtle.

        I do have one example for which my config must be bad, compresses a lot but introduces a lot of noise

    • randomname@sh.itjust.works
      link
      fedilink
      arrow-up
      2
      ·
      1 day ago

      Why does this even work though? WEBP and PNG are very different file formats yet for some reason this has always worked for me as well. Is windows automatically converting the files? I haven’t checked if changing the file extension changes the file size.

  • StarMerchant938@lemmy.world
    link
    fedilink
    arrow-up
    42
    ·
    edit-2
    2 days ago

    As someone who sometimes needs a quick and dirty stock image for my work, webp is the bane of my existence. The work computers won’t let me visit sites or install programs/extensions to convert the image, and my document processing programs have no fucking clue what to do with the format. There is an option in Microsoft edge to edit image, and it will dump the result as a .png which is the only workaround I’ve found.

    • zqps@sh.itjust.works
      link
      fedilink
      arrow-up
      15
      ·
      2 days ago

      I run Firefox portable with the extension “Save webp as PNG or JPEG”. It has a button to copy directly to clipboard in the format of your choice.

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

        So much this. I’ve completely forgotten about this issue since I’ve installed that extension.

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

        I usually screenshot it in place with alt-print screen, paste it into paint, crop it to size, and save

    • edgemaster72@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      When I save as an image and it comes up as webp I just change the extension dropdown to all files and change the extension to .png in the filename box, hasn’t failed for me yet