Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
cm0002 ( cm0002@piefed.world )  to Programmer Humor@programming.devEnglish · 1 year ago

Webp

lemmy.ml

message-square
83
link
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
415

Webp

lemmy.ml

cm0002 ( cm0002@piefed.world )  to Programmer Humor@programming.devEnglish · 1 year ago
message-square
83
link
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
alert-triangle
You must log in or # to comment.
  • Aatube ( Aatube@kbin.melroy.org ) 
    link
    fedilink
    arrow-up
    95
    ·
    1 year ago

    wdym “terrible quality loss”; for one their lossless beats PNG

    • flamingos-cant (hopepunk arc) ( flamingos@feddit.uk ) 
      link
      fedilink
      English
      arrow-up
      27
      ·
      1 year ago

      This depends, if your image contains a lot of flat colours (like a screenshot of a website) then PNG can actually give you smaller file sizes than lossless webp. But for most images (especially ones with compression artefacts) lossless webp gives smaller sizes.

      • tyler ( tyler@programming.dev ) 
        link
        fedilink
        arrow-up
        7
        ·
        1 year ago

        But that’s not got anything to do with quality. That’s compression size

        • flamingos-cant (hopepunk arc) ( flamingos@feddit.uk ) 
          link
          fedilink
          English
          arrow-up
          37
          ·
          1 year ago

          Lossless encoding, by definition, won’t have any quality loss.

          • Carighan Maconar ( Carighan@piefed.world ) 
            link
            fedilink
            English
            arrow-up
            8
            ·
            1 year ago

            Watch some startup “invent” a revolutionary lossless format that discards some information.

            • vithigar ( vithigar@lemmy.ca ) 
              link
              fedilink
              arrow-up
              10
              ·
              1 year ago

              Xerox did that ages ago.

              https://www.dkriesel.com/en/blog/2013/0802_xerox-workcentres_are_switching_written_numbers_when_scanning

              • Carighan Maconar ( Carighan@piefed.world ) 
                link
                fedilink
                English
                arrow-up
                3
                ·
                1 year ago

                Fuuuuuck. There goes another business idea. 😂

              • ulterno ( ulterno@programming.dev ) 
                link
                fedilink
                English
                arrow-up
                0
                ·
                1 year ago

                did that ages ago

                That’s the point of revolution, no?
                Going back to something that was in the past, except giving it a new name and context:P

          • tyler ( tyler@programming.dev ) 
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            Huh? The OP literally said “their lossless beats png” and then you proceeded to talk about file size which wasn’t ever part of the conversation. The conversation was about quality.

      • ulterno ( ulterno@programming.dev ) 
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        But for most images (especially ones with compression artefacts) lossless webp gives smaller sizes.

        And if you already have compression artifacts, what use is lossless?
        Only time you would want it is when you are uploading comparison photos specifically showing compression artifacts created from some other compression result.
        That’s a bit to niche to make it worthwhile.

        • flamingos-cant (hopepunk arc) ( flamingos@feddit.uk ) 
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          deleted by creator

    • The_Decryptor ( The_Decryptor@aussie.zone ) 
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      Lossless is fine, lossy is worse than JPEG.

      • Ricky Rigatoni ( RickyRigatoni@retrolemmy.com ) 
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        If someone chooses lossy they deserve whatever torture they receive.

        • SleveMcDichael ( SleveMcDichael@programming.dev ) 
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          Unfortunately most people don’t really have a choice in the matter. It’s sites like twitter that crunch images to hell and back on upload that choose for us.

          • Ricky Rigatoni ( RickyRigatoni@retrolemmy.com ) 
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            Choose life don’t use webbed sites that use lossy webps

  • Snot Flickerman ( SnotFlickerman@lemmy.blahaj.zone ) 
    link
    fedilink
    English
    arrow-up
    69
    ·
    1 year ago

    JPG-XL crying in the corner.

    • Ⓜ3️⃣3️⃣ 🌌 ( m33@lemmy.zip ) 
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

      Sitting next to JPEG-2000

  • I Cast Fist ( ICastFist@programming.dev ) 
    link
    fedilink
    arrow-up
    45
    ·
    1 year ago

    > complains about lossy format
    > meme uses lossless image

    Am disappoint

    • KairuByte ( KairuByte@lemmy.dbzer0.com ) 
      link
      fedilink
      arrow-up
      26
      ·
      1 year ago

      To be clear, webp isn’t even a lossy format. I mean, it can be, but it can also be lossless.

  • flamingos-cant (hopepunk arc) ( flamingos@feddit.uk ) 
    link
    fedilink
    English
    arrow-up
    40
    ·
    1 year ago

    The posting of webps will continue until support improves.

    • Ⓜ3️⃣3️⃣ 🌌 ( m33@lemmy.zip ) 
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      Is webps just webp with SSL ? 😏

      • ulterno ( ulterno@programming.dev ) 
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        No, it’s a new format remember?
        So TLS, maybe

        • Ⓜ3️⃣3️⃣ 🌌 ( m33@lemmy.zip ) 
          link
          fedilink
          arrow-up
          3
          ·
          1 year ago

          Ah right. It should be TLS, and it may be SSL for future backward compatibility, sometimes resulting in corrupted images without warning.

  • 𝕨𝕒𝕤𝕒𝕓𝕚 ( wasabi@feddit.org ) 
    link
    fedilink
    arrow-up
    37
    ·
    1 year ago

    Quality loss? Webp supports lossless.

    • palordrolap ( palordrolap@fedia.io ) 
      link
      fedilink
      arrow-up
      14
      ·
      1 year ago

      So does JPEG. It doesn’t mean that people (will) use it for that.

      • Mower2560 ( Mower2560@reddthat.com ) 
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Actually? I didnt know that. Is it used often? Any downsides ?

        • filcuk ( filcuk@lemmy.zip ) 
          link
          fedilink
          arrow-up
          4
          ·
          1 year ago

          Practically never because it’s rubbish. The only possible use is on old precision machines that don’t support newer standards, like medical imaging.

  • 🇰 🌀 🇱 🇦 🇳 🇦 🇰 🇮  ( Kolanaki@pawb.social ) 
    link
    fedilink
    English
    arrow-up
    25
    ·
    1 year ago

    Webp supports lossless compression. It’s even better than .PNG in that regard.

    I also have rarely found it to not work. Like the only things I can think of off the top of my head is that the basic Microsoft image viewer that comes standard on Windows won’t open them and also how some websites will force an animated .gif to be saved as a webp, making it a static image. Even though I am pretty sure webp also supports animation.

    • Kairos ( LodeMike@lemmy.today ) 
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

      JPEG also supports lossless compression.

      • 🇰 🌀 🇱 🇦 🇳 🇦 🇰 🇮  ( Kolanaki@pawb.social ) 
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Does it? Paint doesn’t seem to use it. Even saving something uncompressed adds artifacts that don’t exist in the raw.

        • Kairos ( LodeMike@lemmy.today ) 
          link
          fedilink
          arrow-up
          6
          ·
          1 year ago

          You mean the Microsoft made program?

          • 🇰 🌀 🇱 🇦 🇳 🇦 🇰 🇮  ( Kolanaki@pawb.social ) 
            link
            fedilink
            English
            arrow-up
            3
            ·
            1 year ago

            Yeah. I would imagine a better program actually has lossless compression if the format can do that. Like I mentioned initially, their own image viewer can’t even open WebP; but using the old one from XP/Vista opens them fine. 🤷‍♂️

  • nymnympseudonym ( nymnympseudonym@piefed.social ) 
    link
    fedilink
    English
    arrow-up
    22
    ·
    1 year ago

    And it’s more of a video format than an image format, lots of juicy attack surface

    https://nvd.nist.gov/vuln/detail/CVE-2023-4863

    • ryannathans ( ryannathans@aussie.zone ) 
      link
      fedilink
      arrow-up
      6
      ·
      1 year ago

      Sounds like avif

      • ImgurRefugee114 ( ImgurRefugee114@reddthat.com ) 
        link
        fedilink
        arrow-up
        25
        ·
        edit-2
        1 year ago

        JXL is the rightful heir to the throne and none of these treasonous corporate usurpers in the court can convince me otherwise. I’ll never bow to the Webp or Avif factions. While it looks bleak, I pray the crown finds its way to the head of the true king. Long live the Jpeg bloodline!

        But really, webp was pushed because it supports DRM and avif is an implementation detail turned feature afterthought just because webp adoption sucked as much as the format does. I love AV1 for video but avif isn’t fit for purpose and webp is garbo. I really wish they didn’t take jpegxl out behind the shed for no good reason… It has some awesome engineering.

      • The_Decryptor ( The_Decryptor@aussie.zone ) 
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        AVIF is funny because they kept the worst aspects of WebP (lossy video based encoding), while removing the best (lossless mode) There was an attempt at WebP2, using AV1 and a proper lossless mode, but Google killed that off as well.

        But hey, now that they’re releasing AV2 soon, we’ll eventually have an incompatible AVIF2 to deal with. Good thing they didn’t support JPEG-XL, it’d just be too confusing to have to deal with multiple formats.

    • Jean-luc Peak-hard ( blah3166@piefed.social ) 
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 year ago

      16 CVE’s for libjpeg just last year: https://app.opencve.io/cve/?vendor=jpeg

  • Scoopta ( Scoopta@programming.dev ) 
    link
    fedilink
    arrow-up
    16
    ·
    1 year ago

    Webp has both a lossy and lossless mode so the first part of this meme is lost on me

  • Rachel ( ComradeRachel@lemmy.blahaj.zone ) 
    link
    fedilink
    English
    arrow-up
    15
    ·
    1 year ago

    Never understood why jepgXL didn’t win out

    • hperrin ( hperrin@lemmy.ca ) 
      link
      fedilink
      English
      arrow-up
      16
      ·
      1 year ago

      Because Google didn’t invent it, and Google decides what does and doesn’t get added to the Internet.

      • lengau ( lengau@midwest.social ) 
        link
        fedilink
        arrow-up
        7
        ·
        1 year ago

        Google were literally one of the three organisations who worked on the standard, and the top contributor to the reference implementation works there.

        • hperrin ( hperrin@lemmy.ca ) 
          link
          fedilink
          English
          arrow-up
          10
          ·
          1 year ago

          And then they killed it. It was Google pulling support in Chrome that killed JPEG-XL’s momentum.

          It was the Joint Picture Experts Group that invented it, so Google had no ownership over it, unlike WebP.

          Google’s stance on JPEG XL is ambiguous, as it has contributed to the format but refrained from shipping an implementation of it in its browser. Support in Chromium and Chromeweb browsers was introduced for testing April 1, 2021[29] and removed on December 9, 2022 – with support removed in version 110.[30][31]The Chrome team cited a lack of interest from the ecosystem, insufficient improvements, and a wish to focus on improving existing formats as reasons for removing JPEG XL support.[29][32][30]

          - https://en.wikipedia.org/wiki/JPEG_XL

        • Kilgore Trout ( kilgore_trout@feddit.it ) 
          link
          fedilink
          arrow-up
          6
          ·
          1 year ago

          It’s different people who develop and who decide.

    • Homosexual sapiens ( Strawberry@lemmy.blahaj.zone ) 
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      It’s slowly marching along with the reimplementation of its reference decoder in rust. That should hopefully satisfy google and mozilla’s demands and get them to adopt it in their browsers.

  • Ging ( Ging@anarchist.nexus ) 
    link
    fedilink
    English
    arrow-up
    15
    ·
    1 year ago

    I’m noticing that a lot of my memes are auto saved as webps, what can I convert these into so as to be most compatible and least likely to offend those that care about file formats?

    • Lyra_Lycan ( Lyra_Lycan@lemmy.blahaj.zone ) Banned
      link
      fedilink
      English
      arrow-up
      22
      ·
      edit-2
      1 year ago

      I mean, if we’re being realistic, everything I use supports .webp now. Hell, every upload on my instance Blajåj becomes one (not Lemmy universal, as noted by SatyrSack)

      • SatyrSack ( SatyrSack@quokk.au ) 
        link
        fedilink
        English
        arrow-up
        8
        ·
        1 year ago

        Hell, every upload on Lemmy becomes one

        That is something set by your instance admin. lemmy.sdf.org actually automatically converts uploaded WEBP files to PNG. It’s just up to what the admin wants.

        • Venia Silente ( veniasilente@lemmy.dbzer0.com ) 
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          That’s good to know! If I ever get to make an instance of anything in the Fediverse and I set it to save images (lol, fat chace), I’m setting it to either JPEG-XL or XPM.

      • ulterno ( ulterno@programming.dev ) 
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Oh, I forgot webp supported transparency.
        Guess it has something over jpg.

    • Onomatopoeia ( Onomatopoeia@lemmy.cafe ) 
      link
      fedilink
      English
      arrow-up
      13
      ·
      1 year ago

      Jpg

      It’s old, as in 1980’s, so everything supports it

    • Carighan Maconar ( Carighan@piefed.world ) 
      link
      fedilink
      English
      arrow-up
      7
      ·
      1 year ago

      I’d recommend webp

      Everything supports it and it can be lossy or lossless as needed.

      • Ging ( Ging@anarchist.nexus ) 
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        What? Why does this meme say it’s not compatible with anything then? Did I get trolled?

    • fading_person ( fading_person@lemmy.zip ) 
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      On the other hand, if you just want to make people uneasy and some even angry, you can just use and share bitmaps.

  • MonkderVierte ( MonkderVierte@lemmy.zip ) 
    link
    fedilink
    arrow-up
    14
    ·
    1 year ago

    This meme is out of date.

  • hperrin ( hperrin@lemmy.ca ) 
    link
    fedilink
    English
    arrow-up
    13
    ·
    1 year ago

    To be fair, it’s not terrible quality loss, it’s just worse than JPEG, the main format it was trying to replace. It’s way better than GIF though.

    • prole ( prole@lemmy.blahaj.zone ) 
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      That’s kind of terrible as JPEG is lossy af

      • 4am ( 4am@lemmy.zip ) 
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        That depends on the compression level

  • Dekkia ( Dekkia@this.doesnotcut.it ) 
    link
    fedilink
    arrow-up
    11
    ·
    1 year ago

    Not my fault that peoples pirated copy of Photoshop CS5 can’t open it.

    • Korhaka ( Korhaka@sopuli.xyz ) 
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      Better to just use gimp at this point surely?

  • yardratianSoma ( yardratianSoma@lemmy.ca ) 
    link
    fedilink
    arrow-up
    10
    ·
    1 year ago

    hmm, I usually just change the .webp extension to .png, and most of the time, image viewers just open it without issue.

    • anton ( anton@lemmy.blahaj.zone ) 
      link
      fedilink
      arrow-up
      8
      ·
      1 year ago

      This doesn’t change it to a png, but your image viewers recognize it as webp. You should just associate .wepb with your image viewer in the OS.

      • yardratianSoma ( yardratianSoma@lemmy.ca ) 
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        yeah, I figured as much. I guess even seeing the .webp extension bugs me so much that I can’t even stand the sight of it.

        • Jerkface (any/all) ( jerkface@lemmy.ca ) 
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          8 months ago

          Removed by mod

      • yardratianSoma ( yardratianSoma@lemmy.ca ) 
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        deleted by creator

    • Jerkface (any/all) ( jerkface@lemmy.ca ) 
      link
      fedilink
      English
      arrow-up
      7
      ·
      edit-2
      8 months ago

      Removed by mod

  • Korhaka ( Korhaka@sopuli.xyz ) 
    link
    fedilink
    English
    arrow-up
    10
    ·
    1 year ago

    Webp can be lossy or lossless though, and what kind of shitty apps are you using that don’t support it?

    • fodor ( fodor@lemmy.zip ) 
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      deleted by creator

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
    • If the mod doesn’t find it funny, you’re banned. Ha-ha!.. For real: do not use the community for “statements”. There are other places for such content. Keep it chill and funny.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 340 users / day
  • 1.45K users / week
  • 3.18K users / month
  • 7.37K users / 6 months
  • 463 local subscribers
  • 33.4K subscribers
  • 1.52K Posts
  • 25K Comments
  • Modlog
  • mods:
  • Feyter ( Feyter@programming.dev ) 
  • adr1an ( anzo@programming.dev ) 
  • BurningTurtle ( BurningTurtle@programming.dev ) 
  • Pierre-Yves Lapersonne ( pylapp@programming.dev ) 
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code