• @[email protected]
    link
    fedilink
    English
    242 months 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 🐧🗡️
      link
      fedilink
      English
      112 months 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.

      • Liz
        link
        fedilink
        English
        62 months ago

        Paint trick would leave the option for higher quality, a screen grab leaves you at screen grab resolution.

        • dual_sport_dork 🐧🗡️
          link
          fedilink
          English
          32 months ago

          True, but I’ll wager most of the things people are filching for these purposes get displayed on the screen at 100% scale anyway. Unless you’re sniping a picture for large format print, in which case I figure you’d probably be under less restrictive conditions… Hopefully.

    • @[email protected]
      link
      fedilink
      12 months 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.

    • @[email protected]
      link
      fedilink
      22 months 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.

    • Ben Hur Horse Race
      link
      fedilink
      18
      edit-2
      2 months 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

      • zqps
        link
        fedilink
        32 months ago

        It’s probably this one and it’s fucking great and has a button to copy directly to clipboard in the format of your choice

      • @[email protected]
        link
        fedilink
        72 months ago

        sorry no link Im too busy

        Got a chariot race to win or something?

        That’s what the movie Ben Hur was about, right?

        • Ben Hur Horse Race
          link
          fedilink
          32 months 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…

        • @[email protected]
          link
          fedilink
          52 months ago

          It’s a format meant for web browsers. If you want your web browser to ignore performance and focus on universally reusable images, I guess. But that’s me making leaps not in the “meme”

  • manxu
    link
    fedilink
    English
    512 months ago

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

    • @[email protected]
      link
      fedilink
      English
      52 months 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
        link
        fedilink
        English
        32 months 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.

  • Maki
    link
    fedilink
    102 months ago

    Now try to find somewhere which accepts apng or mng. I’ll wait. ;)

    • @[email protected]
      link
      fedilink
      2
      edit-2
      2 months ago

      Just checked, our very corporate and much antiquated website does accept apng (sadly not publicly visible as it’s b2b only). We do deal with photography though, so we do expect multitude of formats and mostly either pass them unchanged or just feed them to ImageMagick and forget about it. The bane of our existence is mostly DNG which Adobe breaks every year or so by introducing breaking spec changes.

      EDIT: Haven’t found a place to even get an mng sample, though. Do you have any?

      • Maki
        link
        fedilink
        12 months ago

        MNG is a bit of an oddity; it was originally supposed to replace GIF but was itself replaced with PNG, Flash, and SVG. I have no such files available but ImageMagick can supposedly make one out of a number of PNG or JPG files if you’re interested in toying with it.

  • @[email protected]
    link
    fedilink
    72 months ago

    What is being implied here? That Website A encourages you to download an image from them in WEBP format, but you cannot then upload that image to Websites B through Z because those sites do not support WEBP?

  • Lucy :3
    link
    fedilink
    82 months ago

    Tbh, for myself I either want lossless (eg. professional photographs for an app) or don’t care about size, due to small volume (eg. my own pics and vids) and also kinda want the originals. And in today’s time, bandwidth isn’t lacking (for most people, including me). So everything’s just a png.

  • Rokin
    link
    fedilink
    English
    252 months ago

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

    • @[email protected]
      link
      fedilink
      122 months 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

  • @[email protected]
    link
    fedilink
    76
    edit-2
    2 months 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)

    • @[email protected]
      link
      fedilink
      22 months 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

      • @[email protected]
        link
        fedilink
        22 months 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

        • @[email protected]
          link
          fedilink
          12 months 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.

          • @[email protected]
            link
            fedilink
            2
            edit-2
            2 months 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

    • @[email protected]
      link
      fedilink
      32 months 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.

      • @[email protected]
        link
        fedilink
        72 months 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

        • @[email protected]
          link
          fedilink
          English
          22 months 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.

      • @[email protected]
        link
        fedilink
        English
        12 months ago

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

      • @[email protected]
        link
        fedilink
        English
        11
        edit-2
        2 months 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

        • @[email protected]
          link
          fedilink
          5
          edit-2
          2 months 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

    • @[email protected]
      link
      fedilink
      62 months 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!

    • HeyListenWatchOut
      link
      fedilink
      English
      262 months 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 :

      • I Cast Fist
        link
        fedilink
        52 months ago

        Is that last webp animated? Asking because I know jerboa (Lemmy client) doesn’t play animated images

      • @[email protected]
        link
        fedilink
        4
        edit-2
        2 months 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

        • @[email protected]
          link
          fedilink
          12 months 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.

          • @[email protected]
            link
            fedilink
            4
            edit-2
            2 months 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.

    • @[email protected]
      link
      fedilink
      82 months 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.

        • @[email protected]
          link
          fedilink
          52 months 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.

          • @[email protected]
            link
            fedilink
            English
            32 months 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

            • @[email protected]
              link
              fedilink
              22 months 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.

  • @[email protected]
    link
    fedilink
    22 months ago

    The real difference is between gif and animated webp… Even fewer places accept animated webp than normal webp and those that do often don’t even show it right (looking at you slack emojis) which is a travesty as the file size difference is huge

  • Fiona
    link
    fedilink
    402 months 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.)

  • @[email protected]
    link
    fedilink
    60
    edit-2
    2 months 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.

      • randint
        link
        fedilink
        English
        132 months ago

        loled at how the name of the Chinese guy is just “generic Chinese name” put into Google Translate

      • @[email protected]
        link
        fedilink
        English
        102 months ago

        Personal homepage is HTML 2.0 compliant - gold (and it keeps giving, too)

        Great content from ages ago

      • @[email protected]
        link
        fedilink
        92 months ago

        I had a colleague code a FFT algorithm in Excel because that was the only deployment tool the customer would be allowed to use…

    • zqps
      link
      fedilink
      182 months 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.

      • @[email protected]
        link
        fedilink
        22 months ago

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

      • @[email protected]
        link
        fedilink
        English
        22 months ago

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

    • @[email protected]
      link
      fedilink
      English
      42 months 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

      • @[email protected]
        link
        fedilink
        12 months ago

        Does that actually change the file, or will it still break when your software can’t handle webp? Because I did that to a webp, but Firefox still shows it’s a webp (in the tab name), probably based on magic byte. I don’t have any viewers that can’t display webp though, and I think they’re all smart enough to go by magic byte.

        • @[email protected]
          link
          fedilink
          English
          12 months ago

          To be honest I don’t know enough about the file types to answer that, but I can confirm at least that a .png I saved from a .webp also says webp image when hovering over the tab if I open it in Firefox.

      • @[email protected]
        link
        fedilink
        332 months ago

        webp is completely supported by browsers I think now.

        Websites still get weird about it.

        JXL is supported by Safari and ummmmm mobile Safari.

        • @[email protected]
          link
          fedilink
          42 months ago

          webp is not fully supported by safari and webview on iOS; they cannot export images as image/webp using the toDataUrl or toBlob from a canvas element

        • @[email protected]
          link
          fedilink
          52 months ago

          iPhone 16 supports shooting in JPEG-XL and I expect that will be huge for hardware/processing adoption.

          • @[email protected]
            link
            fedilink
            12 months ago

            It’s worth pointing out that browser support is a tiny, but important, part of overall ecosystem support.

            TIFF is the dominant standard for certain hardware and processes for digitizing physical documents, or publishing/printing digital files as physical prints. But most browsers don’t bother supporting displaying TIFF, because that’s not a good format for web use.

            Note also that non-backwards-compatible TIFF extensions are usually what cameras capture as “raw” image data and what image development software stores as “digital negatives.”

            JPEG XL is trying to replace TIFF at the interface between the physical analog world and the digital files we use to represent that image data. I’m watching this space in particular, because the original web generation formats of JPEG, PNG, and GIF (and newer web-oriented formats like webp and avif) aren’t trying to do anything with physical sensors, scans, prints, etc.

            Meanwhile, JPEG XL is trying to replace JPEG on the web, with photographic images compressed with much more efficient and much higher quality compression. And it’s trying to replace PNG for lossless compression.

            It’s trying to do it all, so watching to see where things get adopted and supported will be interesting. Apple appears to be going all in on JXL, from browser support to file manager previews to actual hardware sensors storing raw image data in JXL. Adobe supports it, too, so we might start to see full JXL workflows from image capture to postprocessing to digital/web publishing to full blown paper/print publishing.

    • Dr. Moose
      link
      fedilink
      English
      212 months ago

      .jxl is still early. Webp is out for 14 years now and if support is missing its completely on the ineptitude of the client and nothing else.

    • @[email protected]
      link
      fedilink
      102 months ago

      And it’s not even a contest.
      BTW, I only found out recently and by accident that my stock Gimp 2.10 supports it!