• ulterno@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    2
    ·
    3 days 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.

    • GamingChairModel@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      2 days ago

      And if you already have compression artifacts, what use is lossless?

      To further reduce file size without further reducing quality.

      There are probably billions of jpeg files out there in the world already encoded in lossy JPEG, with no corresponding higher quality version actually available (e.g., the camera that captures the image and immediately saves it as JPEG). We shouldn’t simply accept that those file sizes are going to forever be stuck, and can think through codecs that further compress the file size losslessly from there.