• wischi@programming.dev
      link
      fedilink
      arrow-up
      54
      arrow-down
      3
      ·
      2 months ago

      Feel free to use floppy disks. Btw if you are online, you use WebP and PNG all the time 🤣

        • popcar2@programming.dev
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 months ago

          I’ve yet to see any AVIF in the wild. I think support for it is not quite there yet, everybody is still relying on WEBP.

          • pipes@sh.itjust.works
            link
            fedilink
            arrow-up
            2
            ·
            2 months ago

            I’ve seen a lot of avifs masquerading as jpegs lol (I know because KDE Dolphin for some reason isn’t showing a preview for those until I rename them)

      • Aequitas@feddit.org
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        edit-2
        2 months ago

        If you are using Firefox:

        1. Enter the following in the address bar: about:config
        2. Search for: image.webp.enabled
        3. Set it to false Websites are delivering JPG/PNG instead of WebP again.
        • SleeplessCityLights@programming.dev
          link
          fedilink
          arrow-up
          1
          ·
          2 months ago

          Maybe this should come with a warning. The purpose of WebP is to quickly serve images to the user without grabbing the entire image data. Without WebP all images will be fully loaded, in the right conditions a page could load real slow.

          • [object Object]@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            2 months ago

            I love webp, but your explanation is a bit confused. Webp is typically lossy, just as jpeg — only, it’s more efficiently compressed, meaning smaller size for the same image quality. So there’s no ‘entire image data’, there are only different approximations of the original image and different compressed files. Full-blown lossless images in PNG or other formats take several times more data.

            Disabling webp in favor of jpeg would use like 20-40% more data, in comparison. Which still sucks, but not as much.

            • SleeplessCityLights@programming.dev
              link
              fedilink
              arrow-up
              1
              ·
              2 months ago

              I wasn’t going to get into the whole lossyness of the formats and just simplified to full image instead of compressed formatted. That is interesting that it is only saving 20%-40%. I was under the impression that the page only rendered the image size necessary to fit the layout and not the full resolution image. Forcing it to less lossy or lossless would mean that the larger image would always be available to be served to be rendered without any web request.

      • Endymion_Mallorn@kbin.melroy.org
        link
        fedilink
        arrow-up
        4
        arrow-down
        11
        ·
        2 months ago

        No, I have WebP blocked in my about:config. And I use Pale Moon, which actually blocks the things unlike modern FF. And I don’t load PNG either.

      • Endymion_Mallorn@kbin.melroy.org
        link
        fedilink
        arrow-up
        3
        arrow-down
        23
        ·
        2 months ago

        Because I’m tired of all this nonsense where just because a thing is a mature technology, it’s considered obsolete. Stop constantly pushing for the next thing. Keep the things that work.

        • cornshark@lemmy.world
          link
          fedilink
          arrow-up
          36
          ·
          2 months ago

          “How dare they invent a more efficient image encoding! Back in my day we had bmp and we liked it!” - grandpa simpson

        • Fifrok@discuss.tchncs.de
          link
          fedilink
          arrow-up
          13
          ·
          2 months ago

          It’s unreasonable to stop further software development just because there’s a ‘mature’ solution around. Besides, just because a solution is ‘mature’ doesn’t make it good.

          And considering that it seems like you can still use the original, about 30 year old format, doesn’t look like there’s any harm for the folks not needing or able to use the new stuff.

        • SaraTonin@lemmy.world
          link
          fedilink
          arrow-up
          14
          arrow-down
          1
          ·
          2 months 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
            2 months 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/

        • GreenKnight23@lemmy.world
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          2 months ago

          these damn kids will wake up on day and go, “why do you need xpg? jpgxl is just fine!”

          they don’t realize it yet that the only reason why jpeg xl exists is to silently slip that corpo collar around their necks.

          🤷 only time can feed wisdom and cure stupid.