• shootwhatsmyname@lemm.ee
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    1 year 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.

    • Taleya@aussie.zone
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      1 year ago

      Save a lot more debloating your code. Storage is cheap. Processing power is not.

  • TropicalDingdong@lemmy.world
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    1 year ago

    Webp

    Developed by google, for google products.

    Not guaranteed to work with google products (looking at you google voice.)

  • LucidLethargy@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    1 year 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
        arrow-up
        0
        ·
        1 year 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
            arrow-up
            1
            ·
            1 year 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”).

    • balderdash@lemmy.zip
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      1 year ago

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

      • Unlearned9545@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        1 month 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.

          • Microw@lemm.ee
            link
            fedilink
            arrow-up
            1
            ·
            1 year 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@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 year 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.

  • IronKrill@lemmy.ca
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year 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.

  • regbin_@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    WebP is awesome. So is JPEG-XL.

    JPEG and PNG are archaic and should die already.

    .jxl is also coming btw

    • frezik@midwest.social
      link
      fedilink
      arrow-up
      1
      ·
      1 year 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.

      • balderdash@lemmy.zip
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        It supports transparency like PNGs, and animations like GIFs, and is generally not a bad format on its own due to its balance of quality and file size.

        The issue is that support for it is lacking; a large number of major media applications don’t have any WebP functionality, meaning that an image being WebP format only adds an irritating extra step where you have to convert it to PNG to use it. The other issue is that the adoption of the format online is disproportionately high, compared to its adoption by major app developers. It’s bizarrely common to download an image, only to find that you can’t use it because your software (I.e. Photoshop, Clip Studio, OBS) doesn’t support it, so now you have to either convert it to PNG somehow or hunt down a new file that isn’t a WebP. For visual artists of all kinds, this is a tremendous pain in the ass, and it’s pretty obvious that it doesn’t need to be that way in the first place.

  • carpelbridgesyndrome@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    As someone who has had to put together websites:

    • It is supported by every major browser
    • It is halving the amount of your mobile data that I am using sending you images (With lossy compression it does even better)
    • It is decreasing my network egress costs
    • It is increasing the number of connections I can serve in a given time period

    Nope I am not going to stop using this or AVIF (which does better)

  • wax@lemmy.wtf
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year 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?

    • Swedneck@discuss.tchncs.de
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      1 year ago

      bro it’s an image format how does it affect you in any way? “oh no this file is .webp rather than .png my life is over”