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

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 年前
message-square
94
link
fedilink
  • mholiv@lemmy.world
    link
    fedilink
    arrow-up
    37
    ·
    2 年前

    Tl;Dr: PNG but better.

    • IamRoot@sh.itjust.works
      link
      fedilink
      arrow-up
      27
      ·
      2 年前

      No.

      • LostXOR@kbin.social
        link
        fedilink
        arrow-up
        32
        ·
        edit-2
        2 年前

        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 年前

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

          • LostXOR@kbin.social
            link
            fedilink
            arrow-up
            48
            ·
            edit-2
            2 年前

            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 年前

          Might want to check your math.

          • LostXOR@kbin.social
            link
            fedilink
            arrow-up
            16
            ·
            2 年前

            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 年前

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

              • LostXOR@kbin.social
                link
                fedilink
                arrow-up
                32
                ·
                2 年前

                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 年前

                  using a camera as a radiation detector

                  So… detected any yet?

                  • LostXOR@kbin.social
                    link
                    fedilink
                    arrow-up
                    1
                    ·
                    edit-2
                    2 年前

                    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 年前

                  Thumbs up.

                • dubyakay@lemmy.ca
                  link
                  fedilink
                  arrow-up
                  3
                  ·
                  2 年前

                  using a camera as a radiation detector

                  I need to hear more

                  • LostXOR@kbin.social
                    link
                    fedilink
                    arrow-up
                    1
                    ·
                    2 年前

                    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 年前

            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 年前

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

              • El Barto@lemmy.world
                link
                fedilink
                arrow-up
                3
                ·
                2 年前

                I’m Batman.

      • mholiv@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        2 年前

        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 年前

          Still no.

          • mholiv@lemmy.world
            link
            fedilink
            arrow-up
            4
            ·
            2 年前

            Technically yes by 26%.

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

            • IamRoot@sh.itjust.works
              link
              fedilink
              arrow-up
              8
              ·
              2 年前

              Smaller is not better.

              • mholiv@lemmy.world
                link
                fedilink
                arrow-up
                13
                ·
                2 年前

                26% smaller at the exact same quality is better.

                • IamRoot@sh.itjust.works
                  link
                  fedilink
                  arrow-up
                  6
                  ·
                  2 年前

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

                  • Neato@kbin.social
                    link
                    fedilink
                    arrow-up
                    16
                    ·
                    2 年前

                    That’s a problem with adoption not the format.

                  • mholiv@lemmy.world
                    link
                    fedilink
                    arrow-up
                    5
                    ·
                    2 年前

                    Seems like a skill issue.

              • nonailsleft@lemm.ee
                link
                fedilink
                arrow-up
                1
                ·
                2 年前

                That’s what she said!! Hahaha amirite guys

            • snooggums@kbin.social
              link
              fedilink
              arrow-up
              2
              ·
              2 年前

              Size isn’t everything.

              • SatansMaggotyCumFart@lemmy.world
                link
                fedilink
                arrow-up
                2
                ·
                2 年前

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

    • sock@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      2 年前

      except its useless as an image

    • Kusimulkku@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      2 年前

      Hang all web devs

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.

  • 16 users / day
  • 204 users / week
  • 225 users / month
  • 311 users / 6 months
  • 4 local subscribers
  • 1.24K subscribers
  • 200 Posts
  • 2.72K Comments
  • Modlog
  • mods:
  • Red@reddthat.com
  • 111000@reddthat.com
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org