by lajamerr · 4y ago · 0 comments
JPEG XL covers nearly every use case for images, even replacing GIFs with it's animation support.
Existing JPEGs can also be re-encoded losslessly into JPEG XL format/data structure and get significant file size savings. This backwards compatiability is very important in transitioning to web to JPEG XL seamlessly.
What I'm most excited about for JPEG XL is progressive decoding, I had been following the FLIF project for a while and was disappointed with it's lack of adoption. But it's future found itself in JPEG XL.
Without a doubt 5 years now JPEG XL will become like Opus and set the standard for next generation image formats.
I wrote a little X11 screenshot tool last year; one of the reasons I wrote it is because I wanted to save images as WebP rather than PNG that most tools use, since it's quite a bit smaller. Not that I'm running out of disk space, but it just seemed nice; one of those "no, it's not really needed but it's fun and why not?" weekend projects.
Anyhow, I discovered that loads of stuff doesn't support WebP. This was unexpected as it's been around for ages and supported by almost everything, but things like uploading to GitHub, Telegram, and many services doesn't work. It was disappointing and I had to add PNG support just for that.
I fear that JPEG XL will be in a similar situation in the future, where loads of websites can and do use it for their images, but also loads of services don't support it so it's a lot less useful than it could/should be. I hope I'm wrong.
I expect JPEG and PNG to become for images what MP3 is today. And I expect H.264 to become that for video. These formats are too ingrained, whatever their technical limitations.
Technologists consistently underestimate the power of backwards compatibility. Itanium was better than AMD64, DVORAK is better than QWERTY, and I'm sure Esperanto is lightyears ahead of the monstrosity that is English. But backwards compatibility always wins, because it fits what the world was already designed around.
-----
(To be fair to GP, they said Opus is the definitive choice for the web, which may be true for integrated in-browser playback. But in other contexts, well, Amazon sells MP3s, not Opus files.)
No, AMD64 is far superior, Itanium's benefits never materialized. Any BOTH offer backwards compatibility, anyhow.
> DVORAK is better than QWERTY,
Not by enough to matter except in extreme circumstances. I say this as a Dvorak typist.
> I'm sure Esperanto is lightyears ahead of the monstrosity that is English.
It's not. It is needlessly complicated. "Basic," "Simple," or "Technical" English (which came along a few years after Esperanto) is far simpler and quicker to learn.
> But backwards compatibility always wins, because it fits what the world was already designed around.
Besides all the above being incorrect, some examples like the rise of ARM serves as a count-point.
I said in my last post that I expect h.264 to become the MP3 of video files—but if that doesn't happen, I suspect it will be due to the format's lack of HDR support. That's also a difference in kind—something every consumer will immediately notice, if high quality HDR displays become common in the future.
I'm sure it's easy to say that when you are already an English speaker. I personally doubt it very much. Is there some data maybe that supports this point of view?
Not if you're a programmer, punctuation, which is much more frequent in programming languages than english, is a lot harder to type.
I've heard colemak is better for developers, but as a vim user, relearning touch typing AND my vim muscle memory doesn't appeal to me, so i haven't given it a serious try.
There is this quote from Edward Bernays that I like
> “The great enemy of any attempt to change men's habits is inertia. Civilization is limited by inertia.”- Edward L. Bernays, Propaganda
Early Itanium included a x86 unit. Intel tried everything it could to push it.
> and I'm sure Esperanto is lightyears ahead of the monstrosity that is English
A lot of the complexity in English comes from active use and adapting to new concepts and integrating foreign words. Hopefully Esperanto will never be in a position to suffer the same issue and join the ranks of Itanium instead.
Or AAC-LC. Which is so much better than MP3 while having the 99.9999% compatibility. ( It is pretty hard to find something that support MP3 and NOT AAC )
I thought the consensus was that Itanium turned out to be a significant mistake and represented a misestimate of how we could utilise it in software?
It wasn't really my intention to "make a case"; just an observation/lament/complaint.
I just tried downloading a couple and they seem to work now, but I've grown to hate WebP. Even if they open today, I likely won't keep anything saved as WebP, because I won't trust it will work down the road, where jpg and png will likely work for decades.
The trouble is that you may want Opus, FLAC, and JPEG XL, but someone else wants a different set, and someone else wants yet a different set... then in 3 years everyone changes their mind. There is value to some stability and consistency to these file formats so our media is durable and broadly supported over time.
I'm not sure Apple is the only one holding this stuff back. I just checked out a JPEG XL site [3] and it only shows partial support and it's hidden behind a feature flag. As long as this is the current state of things, Apple isn't holding back anything. It's simply not ready for prime time.
I get the desire for open source standards used for media, but they never seem to be as broadly supported, and for your average user, that's all they care about. "Can I view my image? Can I listen to my music?" If the answer is no, they don't care about anything else. Most users won't know if they are looking at a PNG or JPEG XL, or listing to an m4a file vs Opus.
[1] https://www.youtube.com/watch?v=48j493tfO-o [2] https://www.youtube.com/watch?v=XmRNIGqzuRI [3] https://jpegxl.io/#tutorials
Also, it's really not that interesting of a project as such, but it was/is interesting for me anyway in the sense that I now know more about image processing and X11 ("outdated", allegedly, but works fine for me, so whatever).
As I comment elsewhere[1] it also has an experimental fast mode in tree that is crazy fast, using AVX2, NEON, or fallback.
Hopefully Microsoft patenting the thing someone else invented (ANS)[2] doesn't gum this all up.
Edit: Apparently there's an experimental faster version: https://github.com/libjxl/libjxl/tree/main/experimental/fast...
The time spent by high quality encoders is generally trying different settings to find optimals... decoding should be unaffected.
[1] https://www.hackerfactor.com/blog/index.php?/archives/895-Co...
EXR seems like it does all of the high end pro features of JpegXL and more (including 32 bit color). JPEGXL can do some odd stuff like animated gif type images but that seems more like a web end user feature than something professionals would care about. I can see it replacing Jpeg / GIF but I don't see this becoming an industry standard anytime soon.
I may soon have to recommend a lossy but potentially lossless image format for 3D medical images (with 16 bits channels), would JPEG XL fit this bill?
I imagine the doctors would view these images in multitudes of ways(browsers, operating systems, image viewers) with varying level of support. So encoding in a standard that is yet to be entirely finalized and adopted is a bad move as of now.
You'd be best off with going with JPEG2000 still if that's what you prefer or DICOM.
So unless you expect library availability and/or encoder speed to hurt adoption, go for JXL.
not compressed, but handles the voxel-image space transform which is far far more important and quite complicated.
you can slap gzip on top of it and most libraries/FIJI will transparently decompress
Some of those 9 "apps" include imagemagick, ffmpeg, exiftool, libvips, and Qt KImageFormats.
These libraries power a vast amount of software. Support is also in beta for Firefox and Chrome.
Linux has way more than 9 apps that deal with images.
So if you are on linux, practically every app that deals with images will NOT work with JPEG XL.
If it is .jpx, maybe.
Otherwise, no.
(Only partially kidding, unfortunately. Outcomes sometimes hinge on trivial details.)
TIFFs are more in-line with a combination of FLAC/WAV from the audio world. It's meant for raw data used in production/manipulation.
As a professional you would work with TIFFs/RAW photo formats and then master it in JPEG XL for mass-consumption.
[1] A JPEG XL file can be a minimal bitstream or an ISOBMFF container, where the latter can contain the actual bitstream and additional metadata like Exif. The bitstream itself should be enough for decoding.
never heard of Opus for images... must have been sleeping