Lemmy Today
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
111000@reddthat.comM to Memes @ Reddthat@reddthat.com · 1 year ago

What is .webp exactly

reddthat.com

message-square
125
link
fedilink
435

What is .webp exactly

reddthat.com

111000@reddthat.comM to Memes @ Reddthat@reddthat.com · 1 year ago
message-square
125
link
fedilink
  • mholiv@lemmy.world
    link
    fedilink
    arrow-up
    54
    ·
    1 year ago

    Tl;Dr: PNG but better.

    • IamRoot@sh.itjust.works
      link
      fedilink
      arrow-up
      34
      ·
      1 year ago

      No.

      • LostXOR@kbin.social
        link
        fedilink
        arrow-up
        46
        ·
        edit-2
        1 year 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
          12
          ·
          1 year ago

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

          • LostXOR@kbin.social
            link
            fedilink
            arrow-up
            62
            ·
            edit-2
            1 year 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
          4
          ·
          1 year ago

          Might want to check your math.

          • LostXOR@kbin.social
            link
            fedilink
            arrow-up
            19
            ·
            1 year 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
              ·
              1 year ago

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

              • LostXOR@kbin.social
                link
                fedilink
                arrow-up
                40
                ·
                1 year 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
                  5
                  ·
                  1 year ago

                  using a camera as a radiation detector

                  So… detected any yet?

                  • LostXOR@kbin.social
                    link
                    fedilink
                    arrow-up
                    3
                    ·
                    edit-2
                    1 year 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
                  ·
                  1 year ago

                  Thumbs up.

                • dubyakay@lemmy.ca
                  link
                  fedilink
                  arrow-up
                  4
                  ·
                  1 year ago

                  using a camera as a radiation detector

                  I need to hear more

                  • LostXOR@kbin.social
                    link
                    fedilink
                    arrow-up
                    2
                    ·
                    1 year 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
            11
            ·
            1 year 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
              4
              ·
              1 year ago

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

              • El Barto@lemmy.world
                link
                fedilink
                arrow-up
                5
                ·
                1 year ago

                I’m Batman.

      • mholiv@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        1 year 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
          10
          ·
          1 year ago

          Still no.

          • mholiv@lemmy.world
            link
            fedilink
            arrow-up
            5
            ·
            1 year ago

            Technically yes by 26%.

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

            • IamRoot@sh.itjust.works
              link
              fedilink
              arrow-up
              9
              ·
              1 year ago

              Smaller is not better.

              • mholiv@lemmy.world
                link
                fedilink
                arrow-up
                17
                ·
                1 year ago

                26% smaller at the exact same quality is better.

                • IamRoot@sh.itjust.works
                  link
                  fedilink
                  arrow-up
                  7
                  ·
                  1 year ago

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

                  • Neato@kbin.social
                    link
                    fedilink
                    arrow-up
                    20
                    ·
                    1 year ago

                    That’s a problem with adoption not the format.

                  • mholiv@lemmy.world
                    link
                    fedilink
                    arrow-up
                    7
                    ·
                    1 year ago

                    Seems like a skill issue.

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

                That’s what she said!! Hahaha amirite guys

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

              Size isn’t everything.

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

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

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

      except its useless as an image

    • Kusimulkku@lemm.ee
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      Hang all web devs

      • RickyRigatoni@lemmy.ml
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        Web devs will literally look at the standards, decide to do something wrong, then blame everyone else for not agreeing with them.

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.

  • 1 user / day
  • 1 user / week
  • 4 users / month
  • 1.19K users / 6 months
  • 7 local subscribers
  • 1.16K subscribers
  • 200 Posts
  • 3.03K Comments
  • Modlog
  • mods:
  • Red@reddthat.com
  • 111000@reddthat.com
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org