• Starfighter@discuss.tchncs.de
      link
      fedilink
      arrow-up
      5
      ·
      3 hours ago

      I assume you mean AVIF? Because AV1 is not an image (file) format but a video compression format (that needs to be wrapped in container file formats to be storable).

      • jaykrown@lemmy.world
        link
        fedilink
        arrow-up
        4
        arrow-down
        1
        ·
        edit-2
        2 hours ago

        “AVIF is an image file format that uses AV1 compression algorithms.” yes i mean that

  • ExLisper@lemmy.curiana.net
    link
    fedilink
    arrow-up
    106
    ·
    edit-2
    18 hours ago

    Given these positive signals, we would welcome contributions

    Poor Google doesn’t have the manpower to implement it. They can only accept contributions from volunteers.

  • Eskuero@lemmy.fromshado.ws
    link
    fedilink
    arrow-up
    74
    ·
    20 hours ago

    “we would welcome contributions to integrate a performant and memory-safe JPEG XL decoder in Chromium. In order to enable it by default in Chromium we would need a commitment to long-term maintenance.”

    yeah

  • 6nk06@sh.itjust.works
    link
    fedilink
    arrow-up
    116
    ·
    24 hours ago

    Given these positive signals

    Those idiots waited for 4 years because they followed the hype of the moment. I’m glad I removed Google from my life.

        • ramjambamalam@lemmy.ca
          link
          fedilink
          English
          arrow-up
          2
          ·
          3 hours ago

          That used to be what Microsoft (Internet Explorer) was famous for. I guess Chrome has lived long enough to be the villain, but Firefox is still the hero to me.

    • panda_abyss@lemmy.ca
      link
      fedilink
      arrow-up
      50
      ·
      23 hours ago

      This must be your first time seeing what Google support looks like

      This is pretty standard unless you can get an exec’s personal attention.

    • Billegh@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      4 hours ago

      It’s even more confusing than that; the X is for revision 10, and the L is for long term.

      It’s an update to the JPEG standard intended to cover expected future uses and capabilities.

    • Cort@lemmy.world
      link
      fedilink
      arrow-up
      23
      ·
      17 hours ago

      No. They increased the max “canvas” size and increased encoding efficiency. You’d want the file size to be smaller but the file itself to be larger (and consequently more detailed)

    • wischi@programming.dev
      link
      fedilink
      arrow-up
      64
      arrow-down
      3
      ·
      22 hours ago

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

      • Aequitas@feddit.org
        link
        fedilink
        arrow-up
        5
        arrow-down
        1
        ·
        edit-2
        17 hours 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
          ·
          4 hours 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
            3 hours 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
              ·
              3 hours 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.

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

                That’s a rather interesting consideration as to whether rendering at smaller sizes skips decoding parts of the image.

                First, the presented file is normally always loaded in full, because that’s how file transfer works over the web. Until lately, there were no different sizes available, and that only became widely-ish spread because of Apple’s ‘Retina’ displays with different dots-per-inch resolution, mostly hidpi being two times the linear size of the standard dpi. Some sites, like Wikipedia, also support resizing images on the fly to some target dimensions, which results in a new image of the JPEG or other format. In any case, to my somewhat experienced knowledge, JPEG itself doesn’t support sending every second row or anything like that, so you always get a file of a predetermined size.

                First-and-a-half, various web apps can implement their own methods for loading lower- or higher-res images, which they prepare in advance. E.g. a local analogue to Facebook almost certainly loads various prepared-in-advance low-res images for viewing in the apps or on the site, but has the full-res images available on request, via a menu.

                Second, I would imagine that JPEG decoding always results in the image of the original size, which is then dynamically resized to the viewport of the target display — particularly since many apps allow zooming in or out of the image on the fly. Specifically, I think decoding the JPEG image creates a native lossless image similar to BMP or somesuch (essentially just a 2d array of pixel colors), which is then fed to the OS’s rendering capabilities, taking quite a chuck of memory. Of course, by now this is all accelerated by the hardware a whole lot, with the common algorithms being prepared to render raw pixels, JPEG, and a whole bunch of other formats.

                It would be quite interesting if file decoding itself could just skip some part of the rows or columns, but I don’t think that’s quite like the compression works in current formats (at least in lossy ones, which depend on the previous data to encode later data). Although afaik JPEG encodes the image in rectangles like 16x16 or something like that, so it could be that whole chunks could be skipped altogether.

        • popcar2@programming.dev
          link
          fedilink
          English
          arrow-up
          2
          ·
          18 hours 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
            3
            ·
            15 hours 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)

      • Endymion_Mallorn@kbin.melroy.org
        link
        fedilink
        arrow-up
        5
        arrow-down
        15
        ·
        21 hours 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
        4
        arrow-down
        27
        ·
        21 hours 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
          39
          ·
          20 hours ago

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

        • SaraTonin@lemmy.world
          link
          fedilink
          arrow-up
          16
          arrow-down
          1
          ·
          19 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
            12 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/

        • Fifrok@discuss.tchncs.de
          link
          fedilink
          arrow-up
          15
          ·
          20 hours 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.

        • GreenKnight23@lemmy.world
          link
          fedilink
          arrow-up
          2
          arrow-down
          1
          ·
          13 hours 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.

  • reddig33@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    30
    ·
    23 hours ago

    I would be more excited about JPEG XL if it was backward compatible. Not looking forward to yet another image standard that requires OS and hardware upgrades simply so servers can save a few bytes.

    • Laser@feddit.org
      link
      fedilink
      arrow-up
      52
      arrow-down
      1
      ·
      23 hours ago

      How would a new format be backwards-compatible? At least JPEG-XL can losslessly compress standard jpg for a bit of space savings, and servers can choose to deliver the decompressed jpg to clients that don’t support JPEG-XL.

      Also from Wikipedia:

      Computationally efficient encoding and decoding without requiring specialized hardware: JPEG XL is about as fast to encode and decode as old JPEG using libjpeg-turbo

      Being a JPEG superset, JXL provides efficient lossless recompression options for images in the traditional/legacy JPEG format that can represent JPEG data in a more space-efficient way (~20% size reduction due to the better entropy coder) and can easily be reversed, e.g. on the fly. Wrapped inside a JPEG XL file/stream, it can be combined with additional elements, e.g. an alpha channel.

      • reddig33@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        31
        ·
        23 hours ago

        All you have to do is add a small traditional JPEG image at the start of the file. It doesn’t have to be high resolution or more than a couple of kb. The new format decoder would know this, and skip the traditional jpeg “header”, rendering the newer file format embedded in the image.

        • wischi@programming.dev
          link
          fedilink
          arrow-up
          46
          arrow-down
          2
          ·
          22 hours ago

          Would completely defeat the purpose of making a new smaller file format if we prefix if with the old format.

          • reddig33@lemmy.world
            link
            fedilink
            English
            arrow-up
            4
            arrow-down
            19
            ·
            22 hours ago

            If you’re really saving 20% in file size with XL, adding back a very compressed preview image that takes up one or two percent isn’t going to cost you much.

    • REDACTED@infosec.pub
      link
      fedilink
      English
      arrow-up
      5
      ·
      16 hours ago

      What does backward compability in image format even means? Being able to open it in windows image viewer?

    • LordKitsuna@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      19 hours ago

      It requires neither of those upgrades though? Unless you’re still using Windows XP I guess for some reason. It’s just an update to the image decoder