• Psychadelligoat
    link
    fedilink
    English
    282 years ago

    I haven’t had an issue with webp support myself, kinda surprised to see people stating it like it happens all the time

    The only tool I’ve used that didn’t support it was the FOMOD creation tool when making some small Starfield foods, and that actually DID support webp, it just threw an error but would show the image and mod managers would load it no problem

    Or is this an example of the difference between people who use Linux and Windows regularly?

    • @NBJack@reddthat.com
      link
      fedilink
      27
      edit-2
      2 years ago

      Want that cool image as a background? Whoops.

      Want to use that image with that nifty ML tool you downloaded? Uh oh.

      That random web service at least five years old with an upload field for an image? Roll the dice; win on snake eyes.

      Want to use that picture as an avatar in a forum that isn’t that popular? Hmmm.

      How about that WordPress blog of yours? Hopefully on 5.8 or better; otherwise unsupported natively.

      Would you like thumbnails on these downloads in your favorite Linix distro? Uh, maybe; Ubuntu didn’t get it until 22.10.

      How about Windows? Well, 11 is fine, but 10 needs an extension.

      None of this can’t be overcome with some effort, but it’s kind of painful right now.

  • awesome357
    link
    fedilink
    172 years ago

    From someone using foundry, please continue to use webp and webm… Foundry easily supports it and the file sizes are much smaller making them take up much less space on my server. And upload faster, and load faster for me and my players, and let me upload larger maps for my players as they render easier.

    • @UnderpantsWeevil@lemmy.world
      link
      fedilink
      122 years ago

      My god, yes. The .webp file format is consistently half the size of .jpeg and improves load times considerably.

      Also, just use paint.net like a normal person. Or GIMP. Practically any image editor worth the name will let you save in .webp format and every browser can handle it.

  • @IronKrill@lemmy.ca
    link
    fedilink
    45
    edit-2
    2 years ago

    The problem is rather the opposite of the meme. The file format is fine, but there is so little effort into making it happen.

    If we were trying then I should be able to upload webp images everywhere. The most egregious is websites that will convert jpg and png uploads to webp but don’t allow webp upload.

    • @Wilzax@lemmy.world
      link
      fedilink
      92 years ago

      webp isn’t fine, it has a ton of vulnerabilities because it’s not a safe file format. It gets to do too much and it’s insecure for that reason. That’s why you can’t upload your own webp but conversion to it is fine

      • it has a ton of vulnerabilities because it’s not a safe file format

        Its a high compression image file, ffs. If someone sends you a 10 mb .webp file, that should be setting off alarm bells right off the bat. Even then, I have to ask what the hell your Windows Viewer app thinks it should be allowed to do with the file shy of rendering it into pixels on the screen.

        • @propaganja@lemmy.ml
          link
          fedilink
          42 years ago

          I mean, it sounds like you’re saying, “I don’t know how it can be dangerous, therefore it’s not dangerous.”

          • All I’m hearing is that “its not safe” without further details. And given the utility relative to .jpeg, I’d like more on the table than just “Don’t do it! Unsafe!”

            • @propaganja@lemmy.ml
              link
              fedilink
              02 years ago

              I agree the claim requires more evidence and it would be foolish to just take it at face value, but even if my intuition told me it was intrinsically safe I wouldn’t place any degree of trust in my own logical conclusions, or discount someone else’s warnings, however spurious.

              The burden of proof should never be on the accuser when it comes to safety, in my opinion, or anything else of public concern. And the standard of proof should be higher to show that everything’s ok than to show that it’s not. At least in an ideal world.

              • I wouldn’t place any degree of trust in my own logical conclusions

                Okay, but then why use .jpeg?

                The burden of proof should never be on the accuser when it comes to safety

                How does the .webp protocol demonstrate itself at least as safe as any other standard format? There’s no established safety standard for image protocols that I’m aware of.

  • Flying Squid
    link
    fedilink
    172 years ago

    I don’t even understand the point of webp. Why do we need to make pngs and jpegs smaller? Who has internet that can’t handle those files most of the time? It’s not like people are posting 500 mb images.

    • Orbituary
      link
      fedilink
      462 years ago

      It’s not about the bandwidth and ability when you’re reducing file size. It’s the aggregate of doing so when the site has a large number of those files, multiplied by the number of times the files get pulled from a server.

      It’s conserving size for the provider. Most commercial servers have metering.

    • @steventhedev@lemmy.world
      link
      fedilink
      122 years ago

      Large companies that serve a ton of content. CDNs, image hosts, Google, Facebook, etc. 1% of their traffic adds up to a lot.

      Also people in limited bandwidth situations - satellite links, Antarctica, developing countries, airplanes, etc.

      Finally, embedded systems. The esp32 for example has 520kb of ram.

    • @xeekei@lemm.ee
      link
      fedilink
      English
      82 years ago

      But maybe 500 people are posting 1 MB images? These concepts ain’t hard, mate.

      • Flying Squid
        link
        fedilink
        22 years ago

        If your web page has 1 mb jpegs, sure, you need webp. Because you don’t know how to add appropriately-sized images.

        Again, a jpeg of png of a 27" monitor screenshot is like 50kb.

        • @xeekei@lemm.ee
          link
          fedilink
          English
          22 years ago

          Please extrapolate a bit. I used the numbers to make it easy for you. Let’s try again.

          10 000 people posting 50 KB images. And we are right back where we started. Webp is objectively better than old JPEG.

          Also, “a jpeg of(‘or’?) a png of a 27” monitor screenshot" makes no sense. Jpegs and pngs are not the same filesize for the same image, and the diagonal dimension of a monitor is irrelevant. Are we talking 1080p, 1440p, or 2160p?

    • StametsOP
      link
      fedilink
      92 years ago

      Neither do I. I’ve heard so much from so many people about it being a ‘better’ extension in all these ways but I mean… it just comes off like audiophile-style conversations about how this specific record player with x speaker set allows for the warmth better than this other set that costs the same amount of money. That amount being your blood, various organs, and the life energies of everything in a 50 mile radius.

      How is it better when no one fucking supports it?!

      • bjorney
        link
        fedilink
        122 years ago

        When your site serves each user 20+ images and you get millions of unique users a year, saving 25-35% on each image translates into a LOT of saved bandwidth

      • Setarkus.LW
        link
        fedilink
        142 years ago

        Um, not to be nosy, but, how did you get from money to flesh, blood and life energies?

        • StametsOP
          link
          fedilink
          122 years ago

          Where I’m from, a frigid corner of the 9th circle of hell, both the United States Dollar and Tears of the Innocent are used interchangeably.

    • GIFmaster Fresh
      link
      fedilink
      162 years ago

      Cell connectivity.

      A physical internet connection doesn’t have many issues as at all with bulkier formats, but cell networks – especially legacy hardware that is yet to be upgraded – will have more issues sending as much data (i.e. more transmission errors to be corrected and thereby use up more energy, whereas the power cost of transmission error correction for cabled networks is negligible).

      • Flying Squid
        link
        fedilink
        62 years ago

        Even when I have one bar, as long as I have a connection, I won’t have a problem with a 50k png. A screenshot on my 27" monitor is less than that. And the legacy hardware was designed with pngs and jpegs in mind because they didn’t have webp at the time. So that really doesn’t make sense to me.

        • @FooBarrington@lemmy.world
          link
          fedilink
          72 years ago

          It’s less about individual small screenshots (PNGs for example are pretty large with real photographs, which can take minutes to load with a bad connection) and more about multiple images on one site. User retention is strongly affected by things like latency and loading speed. The best way to improve these metrics is to reduce network traffic. Images are usually the biggest part of a page load.

    • StametsOP
      link
      fedilink
      352 years ago

      If it’s for firefox then I’m gonna need the name of said extension

      • Ben Hur Horse Race
        link
        fedilink
        32 years ago

        yo just search for “save webp as” firefox extension. I got it specifically for this (lots of d&d sites use webp)

          • Lem Jukes
            link
            fedilink
            62 years ago

            Stamets, I hope this isn’t weird, half the time I find something I actually comment on, it’s one of your posts. Why is that?

            • StametsOP
              link
              fedilink
              152 years ago

              You’re not the only person to share that sentiment. I post a lot. Few reasons.

              1. To try and help build Lemmy. Need to have an influx of new material consistently or things get stale and drop off.
              2. To make other people sick of me so they start posting themselves which just goes back to point 1.
              3. Because I am suicidally depressed and the constant posting/reacting to notifications distracts me from my own problems long enough that I get to breathe without hating the fact that I am.
              4. I have been stockpiling stuff for years for seemingly no reason. By posting, I can justify my past memegoblin behavior.
              5. It’s fun
        • balderdash
          link
          fedilink
          52 years ago

          I don’t save comments often, but I saved this one. Trying to deal with this format is exceedingly tedious at scale

      • @JigglySackles@lemmy.world
        link
        fedilink
        22 years ago

        It performs no better than existing formats and only serves to fracture format adoption and usage with no benefit. In fact it has costlier compression, and currently has exploited vulnerabilities with a cvss over 8. If you have no techical interest in the subject, you could at least not be an asshole.

  • shootwhatsmyname
    link
    fedilink
    English
    120
    edit-2
    2 years ago

    You get the exact same quality at around ~25% smaller than other image formats. Unfortunate that it’s not supported by everything, but yeah it’s a better image format practically in that sense.

    On the web this saves money when storing at a large scale, and it can have a significant impact on page speed when loading websites on slower connections.

    • @doctorcrimson@lemmy.today
      link
      fedilink
      29
      edit-2
      2 years ago

      My problem is the way it’s packaged as a link to a website that hosts the jpeg image. Saving, modifying, and using the image file becomes impossible in some workflows. Imagine a future where you get fined for stealing memes. I bet they could make the image file size even smaller without all of that bullshit added in, until then I’m just using an extension to convert to png (which results in loss btw).

    • @NBJack@reddthat.com
      link
      fedilink
      142 years ago

      I’d rather see the savings in the army of Javascript I apparently need today for the ‘modern’ web experience. Image files have gotten lots of love, but hey, here’s a shitty 27 year old language designed for validating form input!

        • StarDreamer
          link
          fedilink
          English
          42 years ago

          There are more places where bandwidth is a bottleneck now than 10 years ago.

          NIC speeds have gone from 100Gbps to 800Gbps in the last few years while PCIe and DRAM speeds have nowhere increased that much. No way are you going to push all that data through to the CPU on time. Bandwidth is the bottleneck these days and will continue to be a huge issue for the foreseeable future.

  • @yesman@lemmy.world
    link
    fedilink
    72 years ago

    I’m not sure if this will work for everyone, but when I want to share something from the web with my iphone, I just change the file name from “somememe.webp” to “somememe.png” and it works fine.

  • @regbin_@lemmy.world
    link
    fedilink
    English
    372 years ago

    WebP is awesome. So is JPEG-XL.

    JPEG and PNG are archaic and should die already.

    .jxl is also coming btw

    • stebo
      link
      fedilink
      82 years ago

      I think webp is great but every time I download a webp meme to send it to my Facebook-only friends, I have to take a screenshot of the image because for some reason messenger doesn’t recognize webp images. Like cmon Zuck why can’t you do anything good…

    • @frezik@midwest.social
      link
      fedilink
      162 years ago

      JPEG will never die. Too many things support it at a very basic level. A random CCD camera module on DigiKey probably has an option for direct JPEG output. An 8-bit Arduino will know how to take that JPEG and display it on a cheap 4" LCD screen off Bang Good.

      Formats that sprawl everywhere like that will never, ever die.

  • @LucidLethargy@lemmy.world
    link
    fedilink
    892 years ago

    People just really need to support it. It’s far better than jpg or png. It’s the go-to for web right now, that’s for sure.

      • @LucidLethargy@lemmy.world
        link
        fedilink
        302 years ago

        Only Apple supports this. Like, literally just Apple. I hate Chrome, and even Chrome doesn’t support this. Firefox? Yeah, zero support.

        So for these reasons it’s 100% not viable right now. If you get the support, I’ll consider it for my websites, and tell my colleagues about it, though.

          • @LucidLethargy@lemmy.world
            link
            fedilink
            22 years ago

            This is the source I used to originally validate my position: https://caniuse.com/jpegxl

            Let me know if it’s incorrect, I’d be very interested to learn of new options for the web space as a developer. This said, I googled Firefox and it came back with only “experimental support” for what I think may be an alpha release (version number ends in “a”).

            • @UndercoverUlrikHD@programming.dev
              link
              fedilink
              1
              edit-2
              2 years ago

              I think you still need to enable JXL in the config, but it seems to display just fine once enabled.

              Adding support for JXL in windows was much more of a hassle and doesn’t always display properly in the file preview. Hopefully windows follows Apple’s step soon and adds native support.

              I guess as a Web developer it won’t matter until the JXL toggle is enabled by default though.

    • balderdash
      link
      fedilink
      72 years ago

      But why is it better? My experience is clicking on webp format opens in browser instead of my image viewer

        • balderdash
          link
          fedilink
          72 years ago

          I’m a layperson. I don’t care about what technical benefits it has on paper when its impractical to use. So I have to agree with OP on this one.

          • @Microw@lemm.ee
            link
            fedilink
            22 years ago

            Lots of image viewers and media programs/apps dont support it currently. Which is a hassle when you’ve downloaded a webp and cant view or edit it.

      • AlphaOmega
        link
        fedilink
        252 years ago

        Webp supports 24 - bit RGB w 8 - bit Alpha channel. It also has better lossless and lossly compression. And it handles transparency and animation better than other formats at a smaller size.

        It is smaller, better, and faster.

        • balderdash
          link
          fedilink
          92 years ago

          I wish everyone would get on the same page so it would also be better for the end user.

      • arthurpizza
        link
        fedilink
        English
        42 years ago

        Sounds like you need upgrade your image viewer? Everything else is loading it fine.

        • balderdash
          link
          fedilink
          12 years ago

          I use FastStone Image Viewer. Maybe there’s a plug-in I need to install?

      • @Unlearned9545@lemmy.world
        link
        fedilink
        19 months ago

        It has more efficient lossy compression then JPEG. It has more efficient lossless compression then PNG. More efficient compression then gif and supports animation like gif. It allows for more colors then any of those 3. You can have a single for extension for photos graphics, and animations and costs less storage and bandwidth saving money and making a better ui.

  • @wax@lemmy.wtf
    link
    fedilink
    42
    edit-2
    2 years ago

    I’ve personally used webp for when I need lossy compression with alpha channel. What good alternatives are there? Png is not lossy and jpeg does not support alpha. Is JXL better than WebP? AVIF? JPEG2000?

    • @Stumblinbear@pawb.social
      link
      fedilink
      22 years ago

      WebP is also great for doing animations with transparency on mobile. Transparent video is barely supported and gif is terrible. WebP is really the only option

    • @ilinamorato@lemmy.world
      link
      fedilink
      17
      edit-2
      2 years ago

      pngout can often get image sizes down below equivalent jpeg without quality loss. And it’s not a new format, just optimizing the existing png file.

    • Rhaedas
      link
      fedilink
      12 years ago

      I’ve run into webp saving game screenshots for backgrounds in the past and figured that trick out.

    • ares35
      link
      fedilink
      72 years ago

      or jpg. you’re just tricking your os to hand-off opening the file to your default image viewer.

      • @Knusper@feddit.de
        link
        fedilink
        72 years ago

        Yeah, that image viewer is likely using an image library that supports WebP without the image viewer devs being aware of that.

      • @MystikIncarnate@lemmy.ca
        link
        fedilink
        English
        162 years ago

        Probably because nobody uses it.

        The whole “Google will kill it” meme is a self fulfilling prophecy.

        Google creates thing.

        Everyone thinks Google will kill that thing, so nobody uses it.

        Google kills the thing because nobody uses it.

        And the cycle continues.

        • @Stumblinbear@pawb.social
          link
          fedilink
          12 years ago

          Dunno about “nobody.” Tons of sites use it. Hell, Telegram uses it for stickers exclusively. We use it everywhere on my job’s website

          • @MystikIncarnate@lemmy.ca
            link
            fedilink
            English
            32 years ago

            Which is probably why webp still exists.

            Most of the other things killed by Google follow this trend. Stadia is a glowing example of this self fulfilling prophecy.

            Though, in the case of stadia, IMO, they should have probably worked harder to let people know that as long as you have a Google login and something to play with, you could have tried it without buying anything. There were a number of trials on the platform that were free to play. Since people didn’t generally know that, a lot were relying on reviewers to form an opinion, and most of the reviews were early access and wrought with issues that were quickly fixed.

            I miss stadia.

            • @bluemite@lemmy.world
              link
              fedilink
              12 years ago

              Comparing any of the services or applications that Google has created to a file format is not a fair comparison at all.