Lemmings.world
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
111000@reddthat.comM to Memes @ Reddthat@reddthat.com · 2 years ago

What is .webp exactly

reddthat.com

message-square
94
link
fedilink
276

What is .webp exactly

reddthat.com

111000@reddthat.comM to Memes @ Reddthat@reddthat.com · 2 years ago
message-square
94
link
fedilink
  • mholiv@lemmy.world
    link
    fedilink
    arrow-up
    37
    ·
    2 years ago

    Tl;Dr: PNG but better.

    • IamRoot@sh.itjust.works
      link
      fedilink
      arrow-up
      27
      ·
      2 years ago

      No.

      • LostXOR@kbin.social
        link
        fedilink
        arrow-up
        32
        ·
        edit-2
        2 years ago

        It losslessly compressed ~150GB of my PNGs to ~75GB, so I’d say it’s definitely better space-wise.

        • cryptiod137@lemmy.world
          link
          fedilink
          English
          arrow-up
          10
          ·
          2 years ago

          It’s absolutely not loseless at any kind of quality past web content

          • LostXOR@kbin.social
            link
            fedilink
            arrow-up
            48
            ·
            edit-2
            2 years ago

            The WebP format supports fully lossless compression in addition to lossy compression. I used the lossless mode for my images.

        • IamRoot@sh.itjust.works
          link
          fedilink
          arrow-up
          2
          arrow-down
          1
          ·
          2 years ago

          Might want to check your math.

          • LostXOR@kbin.social
            link
            fedilink
            arrow-up
            16
            ·
            2 years ago

            What do you mean? That’s the total file size of the images before and after I converted them to webp.

            • IamRoot@sh.itjust.works
              link
              fedilink
              arrow-up
              2
              arrow-down
              1
              ·
              2 years ago

              How is that possible when google says it is 26% smaller?

              • LostXOR@kbin.social
                link
                fedilink
                arrow-up
                32
                ·
                2 years ago

                Depending on the content of the image, the compression ratio can vary a lot. The 26% figure is probably for “normal” photos. My images are mostly a few shades of black with a few white pixels (using a camera as a radiation detector) and I guess WebP is way better at compressing that than PNG.

                • brbposting@sh.itjust.works
                  link
                  fedilink
                  arrow-up
                  4
                  ·
                  2 years ago

                  using a camera as a radiation detector

                  So… detected any yet?

                  • LostXOR@kbin.social
                    link
                    fedilink
                    arrow-up
                    1
                    ·
                    edit-2
                    2 years ago

                    Yep! Here’s a few hours of combined exposure of the radiation from an americium source from a smoke detector.
                    image

                • IamRoot@sh.itjust.works
                  link
                  fedilink
                  arrow-up
                  4
                  ·
                  2 years ago

                  Thumbs up.

                • dubyakay@lemmy.ca
                  link
                  fedilink
                  arrow-up
                  3
                  ·
                  2 years ago

                  using a camera as a radiation detector

                  I need to hear more

                  • LostXOR@kbin.social
                    link
                    fedilink
                    arrow-up
                    1
                    ·
                    2 years ago

                    I wanted to see if I could detect the radiation from a small sample of americium-241 that I pulled out of a smoke detector, so I put a Pi camera with no lens facing it and took exposures for a couple hours. After combining them and removing dead pixels I ended up with tons of tiny white specks where radiation had hit the camera sensor. I linked the final image below, and here’s a timelapse video (compositing newer frames onto older frames to keep the radiation specks). video

          • El Barto@lemmy.world
            link
            fedilink
            arrow-up
            7
            ·
            2 years ago

            What? Why? I see one number, I see another number, I report both numbers and because it’s not what you’re expecting, then “it must be my math skills”?

            How does that make sense in any context?

            • IamRoot@sh.itjust.works
              link
              fedilink
              arrow-up
              2
              ·
              2 years ago

              Who are you? I didn’t tell you anything.

              • El Barto@lemmy.world
                link
                fedilink
                arrow-up
                3
                ·
                2 years ago

                I’m Batman.

      • mholiv@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        2 years ago

        Yes.

        (Ok there might be a lossy mode but that is barely better than jpg via mozjpeg)

        • IamRoot@sh.itjust.works
          link
          fedilink
          arrow-up
          7
          ·
          2 years ago

          Still no.

          • mholiv@lemmy.world
            link
            fedilink
            arrow-up
            4
            ·
            2 years ago

            Technically yes by 26%.

            https://developers.google.com/speed/webp

            • IamRoot@sh.itjust.works
              link
              fedilink
              arrow-up
              8
              ·
              2 years ago

              Smaller is not better.

              • mholiv@lemmy.world
                link
                fedilink
                arrow-up
                13
                ·
                2 years ago

                26% smaller at the exact same quality is better.

                • IamRoot@sh.itjust.works
                  link
                  fedilink
                  arrow-up
                  6
                  ·
                  2 years ago

                  Not if people can’t view or save them. PNG and JPEG are superior.

                  • Neato@kbin.social
                    link
                    fedilink
                    arrow-up
                    16
                    ·
                    2 years ago

                    That’s a problem with adoption not the format.

                  • mholiv@lemmy.world
                    link
                    fedilink
                    arrow-up
                    5
                    ·
                    2 years ago

                    Seems like a skill issue.

              • nonailsleft@lemm.ee
                link
                fedilink
                arrow-up
                1
                ·
                2 years ago

                That’s what she said!! Hahaha amirite guys

            • snooggums@kbin.social
              link
              fedilink
              arrow-up
              2
              ·
              2 years ago

              Size isn’t everything.

              • SatansMaggotyCumFart@lemmy.world
                link
                fedilink
                arrow-up
                2
                ·
                2 years ago

                That’s what my ex used to tell me until she got cancer and passed away.

    • Kusimulkku@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      Hang all web devs

    • sock@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      except its useless as an image

Memes @ Reddthat@reddthat.com

memes@reddthat.com

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: !memes@reddthat.com

The Memes community. Where Memes matter the most.

We abide by Reddthat’s Instance Rules & the Lemmy Code of Conduct. By interacting here you agree to these terms.

Rules

  • No NSFW content
  • No bigotry - including racism, sexism, ableism, homophobia, transphobia, or xenophobia. Code of Conduct.
  • Be respectful, especially when disagreeing. Everyone should feel welcome here.
  • No porn.
  • No Ads / Spamming.
Visibility: Public
globe

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

  • 2 users / day
  • 1 user / week
  • 17 users / month
  • 103 users / 6 months
  • 3 local subscribers
  • 1.2K subscribers
  • 198 Posts
  • 2.71K Comments
  • Modlog
  • mods:
  • Red@reddthat.com
  • 111000@reddthat.com
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org