Copy image? Nope, here’s the link instead.

  • Zangoose@lemmy.world
    link
    fedilink
    English
    arrow-up
    174
    ·
    edit-2
    2 months ago

    Why are we sending someone to “Extra Hell” for making an improved image format that has better compression and is an overall improvement over all 3 of the existing formats it replaces (jpeg, png, gif)?

    Shouldn’t this apply to everyone the companies who refused to adopt it, thus breaking every normal image workflow? (Same thing can be said about JXL)

    Edit: fix vague wording

    • theunknownmuncher@lemmy.world
      link
      fedilink
      arrow-up
      120
      ·
      2 months ago

      Because they have a poor user experience with an OS and applications that have chosen not to support it properly, and blame the image format for this

    • Barbecue Cowboy@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      26
      ·
      2 months ago

      I have comments about your first question, but they’re mostly stupid on my end. I think the problem for most is related to your 2nd question. Google is doing it’s google thing where they do a lot to force adoption with a goal of doing nothing to support it. Combine with a general distrust of Google.

      • Zangoose@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        2 months ago

        I’m realizing my wording might be vague, by “everyone” I meant the big tech companies that didn’t implement it, like Google, Apple, Microsoft, and Adobe. AFAIK most of the open source apps actually implemented support pretty quickly, and obviously it wouldn’t be the end users’ fault because they can’t change what formats are supported

    • 666dollarfootlong@lemmy.world
      link
      fedilink
      arrow-up
      25
      ·
      2 months ago

      I’d say the knowledge about webp’s benefits is not mainstream at all, I learned about it last week from a random YouTube video. So when people download a file that isn’t working as expected they don’t know who to be mad at so they make memes like this.

      • Caveman@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        2 months ago

        Obviously be mad at whoever responded to a request without accept webp in it with a webp or didn’t provide an alternative. Nothing wrong with supporting webp with a fallback

    • forestbeasts@pawb.social
      link
      fedilink
      arrow-up
      19
      ·
      2 months ago

      Because it’s Google trying to control not just everything ELSE about the internet, as if that wasn’t enough, but even what image formats we use.

      If PNG and JPEG aren’t good enough, which they often are, by the way, JPEG XL is right there.

      – Frost

      • ArchAengelus@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        28
        ·
        2 months ago

        As an expert in image processing:

        .png supports pretty extreme compression, while a jpeg can also be lossless. The extensions tell you nothing except which family of algorithms was used to encode/compress/store them.

        Webp though, webp is only used for the internet. I mean, you could use it other places, I guess.

        • Dookieman12@piefed.socialBanned
          link
          fedilink
          English
          arrow-up
          3
          ·
          2 months ago

          You’re an “expert in image processing” but don’t understand the fundamental difference between the .jpg and .png image formats or the encoding and compression algorithms underpinning them? I find that doubtful.

          .png only compresses efficiently when used as intended, which is for screenshots or other images with large areas of solid colors, where each pixel is most likely the same color value as its neighbors. In this use case, it’s much more efficient than .jpg. However, .jpg is much more efficient than .png when it’s used as it’s intended; encoding images of the real world, like images taken with a digital camera, where each pixel has a slightly different color value than the ones next to it.

          You can test this yourself by taking a picture with your phone’s camera, then copying the image, converting the copy to the other file format, then comparing the file sizes. Next, repeat the process with a screenshot of a web page or a simple Paint drawing. You’ll see that the camera image is smaller as a .jpg but the screenshot is smaller as a .png.

    • Not a newt@piefed.ca
      link
      fedilink
      English
      arrow-up
      7
      ·
      2 months ago

      Webp has shit application support. Even Google won’t support it for half their workspace apps.

      • groet@feddit.org
        link
        fedilink
        arrow-up
        8
        ·
        2 months ago

        I having not encounters a single program that couldn’t handle webp. Window, Linux and android. All browsers, all image viewers and editing software I use just works™ with it

    • ms.lane@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      ·
      2 months ago

      It’s not an improvement over PNG.

      but it has an optional lossless mode that no one uses

      No one uses it and even if they did, you’d never know since there isn’t a .webl or .webpl to differentiate lossless.

      You know a PNG in lossless, you know a jpg is lossy. webp should just be assumed lossy 100% of the time.

      • sem@piefed.blahaj.zone
        link
        fedilink
        English
        arrow-up
        5
        ·
        2 months ago

        Kind of a tangent, but while the png format uses lossless compression, you do not know that the .png you have in front of you is lossless from the filename; image softwares can and do support preprocessing an image with lossy algorithms to improve the file size.

        This is sort of unlike flac for audio – it is technically also possible, but hardly anyone would do it, since the only reason to use flac is for lossless compression.

        I get the impression that .png is used alongside .jpg as a general image format, although i don’t really know.

        You also don’t know if your .png file has an alpha channel or not – might have been made without one.

    • black0ut@pawb.social
      link
      fedilink
      arrow-up
      3
      ·
      2 months ago

      Because the reason webp/webm is trash is that it uses proprietary codecs, which some software companies don’t want to include support for. It’s google’s attempt to control every format used on the web.

      We already have JXL, which is better than webp at everything it does, it’s not proprietary, and the main reason it’s still not widely supported is because google spent years trying to bury it and intentionally not offering support for it and prioritizing its own webp.

      • llmbot@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        2 months ago

        WebP isn’t proprietary. It’s based on the VP9 video codec, which is completely open source and royalty free, and currently maintained by the same people who made AV1.

  • mlg@lemmy.world
    link
    fedilink
    English
    arrow-up
    66
    ·
    2 months ago

    webp will always be funny to me because it was made exclusively by Google to reduce lossy file size for faster HTTP transfer, but then when JPEGXL was released with better lossy compression and the ability to load graphical data progressively by quality instead of line by line bitstream, Google switched to AVIF instead and doubled down on even more lossy compression because they just want to save cloud costs and don’t care about image quality.

    • FreeAZ@sopuli.xyz
      link
      fedilink
      arrow-up
      20
      ·
      2 months ago

      As someone who has edited videos and had to convert WebPs every time I accidentally downloaded them, no they do not.

      • Unlearned9545@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        2 months ago

        There’s a difference between whether or not a file format supports features and a software supporting the file format. A tractor can have loads of features and still not be the right fit for you if it does fit in your barn. Doesn’t mean the tractor doesn’t have those features. DDR5 can be better then DDR4 and yet not all motherboards support it. It is trivial to convert from webp to the file format you need for your unique situation. Its supported baseline by browsers and use on the web is its best case. I make websites that allow people to customize SOLIDWORKS CAD files. SOLIDWORKS doesn’t support webp: I still use it on the website wherever possible and if someone uploads in webp I just convert to jpg before inserting into SOLIDWORKS.

      • BlaestEgnen@feddit.dk
        link
        fedilink
        arrow-up
        20
        ·
        2 months ago

        and how many images are above 16k x 16k pixels?

        If you have an optimisation for 99% of all online images, then that’s dope - You can use more niche or older compressions for your very high pixel files

      • Unlearned9545@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        2 months ago

        I weep for the web server that has to serve those size images. I can typically cut webserver bandwidth in half by converting all non svg images to webp. Have had one project where this cut the network fee by 80% and allowed us to downgrade the rented server space.

  • stretch2m@infosec.pub
    link
    fedilink
    arrow-up
    39
    ·
    2 months ago

    The person who belongs in extra hell is whoever decided not to implement support for heic natively in Windows.

    • tiramichu@sh.itjust.works
      link
      fedilink
      arrow-up
      17
      ·
      2 months ago

      My pain isn’t in the browser, it’s with other apps that are still playing catch-up.

      A lot of apps have added support now, but there are still edge cases. Animated webp being one. If i send that in a messaging app, usually all the other person sees is the first frame.

      It’s absolutely not the fault of the format, I agree, but still a cause of compatibility headaches.

      • heartSagan5@lemmy.zip
        link
        fedilink
        arrow-up
        4
        ·
        2 months ago

        Well, gif format existed before 1998 and the Web was being built with it, whereas now the format exists when things have already been built. It sounds like a demonstration of feature creep. “Oh, so now we want webp instead of gif? Ugh.”

  • Phoenixz@lemmy.ca
    link
    fedilink
    arrow-up
    26
    ·
    2 months ago

    … What was ever wrong about webp? As far as I know it gives slightly better compression than jpg at similar quality

    The biggest issue AFAIK has been that certain OS vendors didn’t allow their users to enjoy it while the internet went on to use a new tool, so they got a lot of broken images

    That is your vendors fault, not webp

    • Ghoelian@piefed.social
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 months ago

      It’s developed by google, and google having a lead in something usually isn’t a good thing. They might just make up their own extensions and stuff, and other browsers will just have to deal with this. Just like they do with other web standards.

  • Dagnet@lemmy.world
    link
    fedilink
    English
    arrow-up
    13
    ·
    2 months ago

    Use it with FoundryVTT all the time, its great for reducing size without losing much quality.

  • It was only ever an issue for me back when it was new and next to nothing supported it yet.

    That isn’t the case anymore, except maybe here on Lemmy where by default, animated images don’t properly upload. Doesn’t even matter the format; webp, gif, mp4, etc. They don’t work out of the box here; they embed fine if hosted elsewhere, tho.

    • tal@lemmy.today
      link
      fedilink
      English
      arrow-up
      5
      ·
      edit-2
      2 months ago

      WebM works with image-rs (as long as you don’t exceed your home instance’s upload size limits).

      I can’t guarantee that every client can view it properly — that’s on the client’s author — but it’ll show up in the Lemmy Web UI.

      $ wget https://gnuplotting.org/figs/bessel.gif
      $ ffmpeg -i bessel.gif bessel.webm
      

      Try downloading that and then uploading it in a comment to to your own instance; it should work unless pawb.social limits the size.

  • nullspace@lemmy.world
    link
    fedilink
    arrow-up
    9
    ·
    2 months ago

    I agree with the comic. Saving a webp as an actually useful file format is an extra annoying step.

    • daannii@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 months ago

      Half the time it works. Half the time it doesn’t. Idk what the determining factor is but I’ve just got in the habit of doing screenshots. Which I then still have to open another program to paste and save.

      What even was the reason for this awful file type ?

  • ikt@aussie.zone
    link
    fedilink
    arrow-up
    8
    ·
    2 months ago

    Copy image? Nope, here’s the link instead.

    Where are you seeing this?

    • cannedtuna@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      9
      ·
      2 months ago

      Have you never tried to copy a webp? Or have you been blessed by never having to mess with them?

        • cannedtuna@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          10
          ·
          2 months ago

          You can, but you can’t paste it into certain apps as it isn’t recognized, or attempting to will paste the URL instead in others and load it like a shared link.

          • Securificatr@infosec.pub
            link
            fedilink
            arrow-up
            20
            ·
            2 months ago

            Which is a failing of those apps if they don’t accept a widely-used format that’s existed for 16 years now, is it not? Why blame the format for that?

  • fork@feddit.online
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 months ago

    Webp is ass. Kinda weird since its sibling, webm, is goated for supporting transparency.

      • fork@feddit.online
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 months ago

        I mean in terms of video containers, webm is a video container made by the same or adjacent team that made webp. The only other video container I’ve seen that supports transparency is HEVC, which only works in safari.

        Transparency is the only reason I’d ever use webm, just to clarify.

        • Sonotsugipaa@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          4
          ·
          2 months ago

          If we’re talking in terms of vodeo containers (or codecs), then why are we talking about it on a post about webp?

          Unless you consider webp to be a video container because it does support animated pictures, but, again, it also supports transparency.

          Also, HEVC is not a video (/media) container, it’s a codec.

          • sem@piefed.blahaj.zone
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 months ago

            As a lay person, codecs and containers are not visible to me, but the file extension is.

            So .webm would be relevant in a post about .webp, because they are only one letter different.

            • Sonotsugipaa@lemmy.dbzer0.com
              link
              fedilink
              English
              arrow-up
              1
              ·
              2 months ago

              What are we even talking about?

              fork:

              • implied that webp doesn’t support transparency (false);
              • got called out;
              • brought up the topic of video containers (incorrectly) for some reason;
              • got called out again.

              The fact that webm is relevant here is undisputed (or so I believe)