TL:DW, JPEG is getting old in the tooth, which prompted the creation of JPEG XL, which is a fairly future-proof new compression standard that can compress images to the same file size or smaller than regular JPEG while having massively higher quality.
However, JPEG XL support was removed from Google Chrome based browsers in favor of AVIF, a standalone image compression derived from the AV1 video compression codec that is decidedly not future-proof, having some hard-coded limitations, as well as missing some very nice to have features that JPEG XL offers such as progressive image loading and lower hardware requirements. The result of this is that JPEG XL adoption will be severely hamstrung by Google’s decision, which is ultimately pretty lame.
And they’ll make eleventy bajillion dollars in the meantime, plenty of money to pay their inevitable punitive “fines.”
I tried JPEG XL and it didn’t even make my files extra large. It actually made them SMALLER.
False advertising.
Jpeg XL isn’t backwards compatible with existing JPEG renderers. If it was, it’d be a winner. We already have PNG and JPG and now we’ve got people using the annoying webP. Adding another format that requires new decoder support isn’t going to help.
Jpeg XL isn’t backwards compatible with existing JPEG renderers. If it was, it’d be a winner.
According to the video, and this article, JPEG XL is backwards compatible with JPEG.
But I’m not sure if that’s all that necessary. JPEG XL was designed to be a full, long term replacement to JPEG. Old JPEG’s compression is very lossy, while JPEG XL, with the same amount of computational power, speed, and size, outclasses it entirely. PNG is lossless, and thus is not comparable since the file size is so much larger.
JPEG XL, at least from what I’m seeing, does appear to be the best full replacement for JPEG (and it’s not like they can’t co-exist).
It’s only backwards compatible in that it can re-encode existing jpeg content into the newer format without any image loss. Existing browsers and apps can’t render jpegXL without adding a new decoder.
JPEG XL in lossless mode actually gives around 50% smaller file sizes than PNG
My understanding is that webp isn’t actually all that bad from a technical perspective, it was just annoying because it started getting used widely on the web before all the various tools caught up and implemented support for it.
I just wish more software would support webp files. I remember Reddit converting every image to webp to save on space and bandwidth (smart, imo) but not allowing you to directly upload webp files in posts because it wasn’t a supported file format.
If webp was just more standardized, I’d love to use it more. It would certainly save me a ton of storage space.
So… your solution is to stick with extremely dated and objectively bad file formats? You using Windows 95?
Forgive my ignorance, but isn’t this like complaining that a PlayStation 2 can’t play PS5 games?
It’s a different culture between PCs and consoles. Consoles are standardized computers - they all have the same* hardware. Game developers can be confident in what functionality their games have access to, and so use the best they can.
PCs in comparison are wildly different from user to user due to being modular: you can pick from many parts to create a computer. As such, devs tend to focus on what most PC’s can do and make them optionally better if the PC has access to supporting hardware (e.g. RTX ray-tracing cores).
Besides, video games are drastically complex in comparison to static images 😛
Isn’t that the same as other newer formats though?
There’s always something new, and if the new thing is better, adding/switching to it is the better move.
Or am I missing something about the other formats like webp?
You have to offer something compelling for everyone. Just coming out with yet another new standard™ isn’t enough. As pointed out earlier, we already have:
- jpeg
- Png
- Webp
- HEIC
What’s the point of adding another encoder/decoder to the table when PNG and JPEG are still “good enough”?
Look it’s all actually about re-encumberancing image file formats back into corporate controlled patented formats. If we would collectively just spend time and money and development resources expanding and improving PNG and gif formats that are no longer patent encumbered, we’d all live happily ever after.
its royalty free and has an open source implementation, what more could you want?
No patent encumbrance. That was the entire point.
Clawing control of patent infected media standards is far more important for a healthy open internet built on open standards that is not subject to the whims and controls of capital investment groups eating up companies to exert control of the entire technology standards pipeline.
JPEG-XL is in no way patent encumbered. Neither is AVIF. I don’t know what you’re talking about
https://encode.su/threads/3863-RANS-Microsoft-wins-data-encoding-patent
https://www.theregister.com/2022/02/17/microsoft_ans_patent/
https://avifstudio.com/blogs/faq/avif-patents/
https://news.ycombinator.com/item?id=26910515
https://aomedia.org/press releases/the-alliance-for-open-media-statement/
If AVIF was not patent encumbered, AOMedia would not need to have a Patent License to allow open source use.
A majority of the most recent standards are effectively cabal esque private groups of Corporations that hold patents that on the underlying technology and then license the patents among each other as part of the standards org and throw a license bone towards open source. That can all be undone by the patent holders at their whim.
There’s no need to create a standard format that’s patent encumbered especially if they don’t ever intend to monetize that paten,t. It’s all about maintaining control of intellectual property and especially who was allowed and when they are allowed to profit from the standards.
Without jpeg compression artifacts how the hell are we supposed to know which memes are fresh and which memes are vintage???
I still think it’s bullshit that 20-year-old photos now look the same as 20-second-old photos. Young people out there with baby pictures that look like they were taken yesterday.
The tradition has normally been to just have newer image formats and image-generation hardware and software that are more capable or higher fidelity so that the old stuff starts to look old in comparison to the new stuff.
Pretty much sums it up. JPEGXL could’ve been the standard by now if Google would stop kneecapping it in favor of its own tech, now we’re stuck in an awkward position where neither of them are getting as much traction because nobody can decide on which to focus on.
Also, while Safari does support AVIF, there are some features it doesn’t support like moving images, so we have to wait on that too… AVIF isn’t bad, but it doesn’t matter if it takes another 5+ years to get global support for a new image format…
People are quick to blame Google for the slow uptake of Jpeg XL, but I don’t think that can be the whole story. Lots of other vendors, including non-commercial free software projects, have also been slow to support it. Gimp for example still only supports it via a plugin.
But if it’s not just a matter of Google being assholes, what’s the actual issue with Jpeg XL uptake? No clue, does anyone know?
Lots of other vendors, including non-commercial free software projects, have also been slow to support it.
checks
It doesn’t look like the Lemmy Web UI supports JPEG XL uploads, for one.
The problem with XL is that it has way too many features. HDR, for example. Firefox doesn’t support HDR at all, Chrome added HDR image (not video) support just late last year. And that’s just one feature of XL… Even if both Google and Mozilla will start actively working on support we won’t see anything useful for a few years. And then how do you even create images in the first place?
The issue with jpegxl is that in reality jpeg is fine for 99% of images on the internet.
If you need lossless, you can have PNG.
“But JPEGXL can save 0,18mb in compression!” Shut up nerd everyone has broadband it doesn’t matter
What a dumb comment.
All of that adds up when you have thousands or tens of thousands of images. Or even when you’re just loading a very media-heavy website.
The compression used by JPEG-XL is very, very good. As is the decoding/encoding performance, both in single core and in multi-core applications.
It’s royalty free. Supports animation. Supports transparency. Supports layers. Supports HDR. Supports a bit depth of 32 compared to, what, 8?
JPEG-XL is what we should be striving for.
That 0.18mb accumulates quickly on the server’s side if you have 10000 people trying to access that image at the same time. And there are millions it not billions of images on the net. Just because we have the resources doesn’t mean we should squander them…that’s how you end up with chat apps taking multiple gigabytes of RAM.
While AVIF saves about 2/3 in my manga downloads (usually jpg). 10 GB to 3 GB. Btw, most comicbook apps support avif.
10 whole GB of storage? I understand now why you need such an ultimate compression technology, this is an insurmountable amount of data in these harrowing times where you can buy a flash card the size of a fingernail that can hold that amount about 25 times.
Check how large your photos library is on your computer. Now wouldn’t it be nice if it was 40% smaller?
It’s competing with webp and it helps prevent jpg artifacts when downloaded multiple times
prevent jpg artifacts when downloaded multiple times
That’s not how downloading works
Nobody remember JPEG2000 ?!?