• SaraTonin@lemmy.world
    link
    fedilink
    arrow-up
    14
    arrow-down
    1
    ·
    11 hours ago

    Webp is a smaller file size than jpeg for the same image quality in almost all circumstances - so it’s more efficient and quicker to load. It also supports lossless compression, transparency, and animation, none of which jpeg do. And the jpeg gets noticable visual artefacts at a much higher quality than webp does.

    People didn’t adopt it to annoy you. It’s started to replace jpeg for the same reason jpeg started to replace bmp - it’s a better, more efficient format.

    • The_Decryptor@aussie.zone
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      4 hours ago

      Webp is a smaller file size than jpeg for the same image quality in almost all circumstances

      For lower quality images sure, for high quality ones JPEG will beat it (WebP, being an old video format, only supports a quarter of the colour resolution than JPEG does, etc.) JPEG is actually so good that it still comes out ahead in a bunch of benchmarks, it’s just it’s now starting to show it’s age technology wise (like WebP, it’s limited to 8bpc in most cases)

      It also doesn’t hurt that Google ranked sites using WebP/AVIF higher than ones that aren’t (via lighthouse).

      Edit: I should clarify, this is the lossy mode. The lossless mode gives better compression than PNG, but is still limited to 8bpc, so can’t store high bit depth, or HDR images, like PNG can.

      Edit 2: s/bpp/bpc/