• Thorry84@feddit.nl
    link
    fedilink
    arrow-up
    99
    ·
    11 hours ago

    I recently put in a lot of hours for a software system to be able to handle webp just as well as every other image format it already accepted. I put in a lot of work as well. Hadn’t heard about it for a while, but saw the feature release statement for the new version I knew my changes were in. It wasn’t on there. So I reached out to my contact and asked if there was an issue or did it get bumped to a later version or what? So she told me the marketing team that do the release statements decided not to include it. They stated for one, people already expect common formats to be handled. Saying you now handle a format looks bad, since people know you didn’t handle it before and were behind the curve. The second (probably more important) reason was nobody knew what webp even was and it’s only something technical people care about (they probably said nerds, but my contact translated). So no regular customer would be interested and it could only lead to confusion and questions.

    I hope somebody is happy with the work I put in tho. Somebody is going to drag a webp into the system and have it be accepted. Someday… I hope…

    • _stranger_@lemmy.world
      link
      fedilink
      arrow-up
      66
      arrow-down
      1
      ·
      11 hours ago
      1. Fuck those people for telling you this after you did the work
      2. Those reasons are hard-stop stupid. If they REALLY cared about the marketing they’d release it silently or add a “improvements to image format handling” line and leave it at that.
      • Thorry84@feddit.nl
        link
        fedilink
        arrow-up
        36
        ·
        10 hours ago

        Maybe I worded it incorrectly. The feature was released in that version. They just didn’t mention it in the release statement they put out to there customers. I’m sure there’s some changelog somewhere people can dig into where it says something like what you mentioned. Or it can just be under “Various small improvements” which they always add as a catch-all.

        So I’m happy, I did the job and got paid. Everyone I worked with was happy. And the feature got released. It’s was just a let down it didn’t get mentioned at all, even though I put quite a lot of work into it.

    • Lemminary@lemmy.world
      link
      fedilink
      arrow-up
      14
      ·
      10 hours ago

      I hope somebody is happy with the work I put in tho. Somebody is going to drag a webp into the system and have it be accepted.

      And that was me! I mean, not with your software but with someone else’s years ago. Still, in a weird anachronistic karma sort of way, thank you for caring.

  • StarMerchant938@lemmy.world
    link
    fedilink
    arrow-up
    45
    ·
    edit-2
    13 hours 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.

  • Olissipo@programming.dev
    link
    fedilink
    arrow-up
    59
    arrow-down
    2
    ·
    edit-2
    14 hours 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)

    • TwistyLex@discuss.tchncs.de
      link
      fedilink
      arrow-up
      6
      ·
      7 hours ago

      Literally just today solved a problem of delivering analytics plots over our internal chat system. The file size limit is 28Kb and I was just getting ready to say screw it, can’t be done.

      Lo and behold our chat system that doesn’t support svg does support webp. Even visually complicated charts come in just below the size limit with webp.

        • TwistyLex@discuss.tchncs.de
          link
          fedilink
          arrow-up
          4
          ·
          6 hours ago

          Honestly no idea. It’s funny though. The API allows us to either read it directly from our lakehouse with the 28Kb limit, or allows us to encode it in a json object. It actually recommends using the json method if we want to send larger files… but then complains it’s too large if it’s over 28Kb 🤷‍♂️

          I think it was probably originally only intended to allow attaching icons.

          • bamboo@lemmy.blahaj.zone
            link
            fedilink
            English
            arrow-up
            2
            ·
            6 hours ago

            Feels like a bug where someone forgot the 1 in 128kb. What chat app is this?? In Slack, custom emojis can be up to 128kb in filesize

            • TwistyLex@discuss.tchncs.de
              link
              fedilink
              arrow-up
              2
              ·
              6 hours ago

              It’s MS Teams with their PowerAutomate flows from Fabric. The limitation might not exist in the direct rest API, which I could have used through Python; but it’s a hackathon, and my other team mates know PowerAutomate. Faster if we each coordinate using what we’re good with.

    • HeyListenWatchOut@lemmy.world
      link
      fedilink
      English
      arrow-up
      16
      ·
      11 hours 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
        3
        ·
        edit-2
        10 hours 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

      • AdrianTheFrog@lemmy.world
        link
        fedilink
        English
        arrow-up
        7
        ·
        edit-2
        12 hours 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
          1
          ·
          edit-2
          8 hours 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
      6
      arrow-down
      1
      ·
      12 hours 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!

    • Thorry84@feddit.nl
      link
      fedilink
      arrow-up
      2
      ·
      12 hours ago

      How is the size difference after gzip compression? Probably pretty much the same, but I wonder how large the difference is then. Since a lot of folk make sure the contents is gzipped when served to the user.

      • Olissipo@programming.dev
        link
        fedilink
        arrow-up
        6
        ·
        10 hours ago

        Even using the highest compression levels, barely any difference. Not worth it

        If I understand correctly gzip, brotli and similar are best used to compress text.

        Font files also shouldn’t be compressed. A TTF file compresses a bit, but a WOFF2 file will be even smaller than that (and WOFF2 also doesn’t compress well). So might as well use WOFF/WOFF2

        • vvvvv@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          7 hours ago

          If I understand correctly gzip, brotli and similar are best used to compress text.

          Compression algos should be used on uncompressed data. Using them on already compressed data (most video, images, music formats) is generally useless.

    • Valmond@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      13 hours ago

      Is the quality the same? If so how do you know? I mean it’s better, I’m just curious.

        • Valmond@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          41 minutes 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.

      • Olissipo@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        11 hours 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

    • Fabian@lemmy.zip
      link
      fedilink
      arrow-up
      2
      ·
      13 hours 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

    • Ben Hur Horse Race@lemm.ee
      link
      fedilink
      arrow-up
      15
      ·
      edit-2
      15 hours ago

      i have a “save webp as” firefox extension that is good as well… sorry no link Im too busy

      peace and love peace and love

        • Ben Hur Horse Race@lemm.ee
          link
          fedilink
          arrow-up
          3
          ·
          11 hours ago
          spoiler

          yes… well, its about this guy, you know? his name is ben hur, and his childhood friend from rome comes back to and ben hur wont help him take over his homeland. then tiles fall off of this roof and then the roman guy uses it as an excuse to jail ben hur’s sister and mother to get him to help, but it only makes him freak out. so, he gets consigned to a slave ship where there’s a battle and he saves his captor’s life, which endears him to his captor, so the captor takes him back to rome where he ranks up a bit and has high status as a horse racer in the colosseum. ben hur leaves to go find his old roman buddy and take revenge, and he meets this arab horse trainer (played horribly embarrassingly by a white dude in brown face) and they make friends. ben hur goes back and basically fucks his old slave woman, then challenges the roman dude in a massive horse race where he basically kills him. turns out all this time the mother and sister were in prison they contracted leprosy, so ben hur goes and gets them from the leper colony. jesus is crucified nearby and his blood drips off the cross and cures the mother and sister of leprosy.

          its three and a half hours long. its super campy and over-acted. it used to be on tv when my wife was a kid and now we get high and watch it around easter. its fuckin hysterical…

  • manxu@piefed.social
    link
    fedilink
    English
    arrow-up
    39
    arrow-down
    1
    ·
    16 hours ago

    The funniest thing is that even some of Google’s own products don’t accept Webp, like Google Voice.

    • bamboo@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 hours ago

      Shhhh just be happy Google Voice still exists, and isn’t in the graveyard. Personally I’d take RCS over webp in Google Voice.

      • manxu@piefed.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 hours ago

        I feel with you. The product idea is awesome, the implementation is so-so, and progress is backwards. It’s heart-breaking, really, and so sad nobody has a real alternative.

  • Rokin@lemm.ee
    link
    fedilink
    English
    arrow-up
    22
    arrow-down
    8
    ·
    15 hours ago

    No webp for me, just because Google is pushig it and that is suspect.

    • TrickDacy@lemmy.world
      link
      fedilink
      arrow-up
      9
      ·
      12 hours ago

      Lol it’s like 10 years old at this point. Not sure they’re pushing it anymore. I think files that are half the size sell themselves