Earlier quoted context omitted.
Everything about JPEG XL sounds great, except that it takes about 34 times longer to encode an image compared to PNG. Edit: Apparently there's an experimental faster version: https://github.com/libjxl/libjxl/tree/main/experimental/fast...
Depends, are you optimizing the PNG? Because cjxl is a hell of a lot faster for a much smaller file than zopflipng.
What’s the best lossless image format?
71–80 of 166 posts
Re: What’s the best lossless image format?
#72If you want something that is going to be around for awhile and has a LOT of features you probably do not need then you are going to want to go probably with a .DPX or .EXR which are the standard for the VFX industry as well as film in general. On the consumer side I guess adobe .DNG might not be bad either or for maximum compatibility but then maybe a Tiff. For video I personally like Cineform but both ProRes and DN…
How do EXR and JXL compare to each other, feature-wise?
edit: Just looked at the specs and JpegXL is definitely marketed at least more as a web end viewing file type. It does higher color depths (up to 16 bit) which is pretty good but will not do 32 bit like EXR. Given that EXR is so widely used I would likely not consider anything else.
Re: What’s the best lossless image format?
#73Earlier quoted context omitted.
Why is encoding speed irrelevant? I'm currently in the process of scanning and archiving lots of photographs as high-resolution 16-bit PNG's and encoding speed is definitely a significant influence on how long this process takes.
You missed the "almost". The vast majority of use-cases and users barely care about encoding performance. Your use is in the tiny minority. That isn't to say that you don't have a use-case, just that because of how rarely encoding speed matters, it truly is "almost irrelevant" for 99.99% of users 99.99% of the time. -------------- It definitely would be nice if JPEG-XL also had good encoding performance, though. Ther…
Re: What’s the best lossless image format?
#74JPEG XL is the standard to beat them all. Like how Opus became the definitive codec for lossy compression for the web. 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…
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.
Re: What’s the best lossless image format?
#75JPEG XL is the standard to beat them all. Like how Opus became the definitive codec for lossy compression for the web. 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…
Everything about JPEG XL sounds great, except that it takes about 34 times longer to encode an image compared to PNG. Edit: Apparently there's an experimental faster version: https://github.com/libjxl/libjxl/tree/main/experimental/fast...
Re: What’s the best lossless image format?
#76Earlier quoted context omitted.
How many megabytes per second is your scanner feeding you? I'm very surprised that encoding a PNG is slower than scanning.
It's not slower than scanning, but I still spend a significant amount of time waiting for the maximum compression PNG encoding to complete.
Re: What’s the best lossless image format?
#77Earlier quoted context omitted.
Quite, and encoding speed, which is included, seems almost irrelevant
Why is encoding speed irrelevant? I'm currently in the process of scanning and archiving lots of photographs as high-resolution 16-bit PNG's and encoding speed is definitely a significant influence on how long this process takes.
Re: What’s the best lossless image format?
#78> What is the best lossless image format? For which application? Otherwise you can only say " depends ". Tiff is good if you want to save data fast to disk in Blender. EXR is great if you want 32bit color depth, etc.
> Tiff is good Mind that TIFF is only a container format that can contain any arbitrary codec you like; it can be uncompressed pixels, RLE compressed, it can be a PNG, a JPEG XL, even lossy JPEG or WebP if you'd like. Saying your image format is TIFF is roughly as useful and conveys as much information as saying your video format is MKV.
Re: What’s the best lossless image format?
#79Earlier quoted context omitted.
Quite, and encoding speed, which is included, seems almost irrelevant
Why is encoding speed irrelevant? I'm currently in the process of scanning and archiving lots of photographs as high-resolution 16-bit PNG's and encoding speed is definitely a significant influence on how long this process takes.
Re: What’s the best lossless image format?
#80The best lossless format is the one you can decode back to the original image. When evaluating them, there is an implicit assumption that the decode step will happen a short time later, but that's not always true. Will there be JPEG XL decoders commonly available in 40 years? Will the code even compile then? As a thought experiment, try to find the lossless encodings from 40 years ago and see if they can be faithfull…
Say you archive hours and hours and hours of footage and photographs in JPEG XL and then in 5 years the industry moves on to something completely different (maybe even worse in terms of specs) like the beta vs VHS thing. In 20 years it will surely be possible to decode those JPEG XL files but if you just want to send one to a friend and they have to jump through hoops to view it then it becomes a pretty big pain in the butt.