Closed terranprog closed 7 months ago
I have raised a pull request with some simple code changes that improve performance.
jxlatte isn't optimized, for starters, but also do note that I've been focusing on compliance and completeness recently and fixing bugs rather than optimizing.
OK thanks. That's good to hear. Being new to jpegxl format, I wasn't sure if this was an inherent trade-off with the format.
It is, since PNG is much less sophisticated, but it's nowhere near as extreme as you'd see with jxlatte vs standard PNG.
I am finding decoding jxl images using jxlatte takes around 10 times longer than decoding the same image saved as png.
My process is as follows:
I did 3 runs of each (with JVM warmup) Times are in milliseconds.
JXL Time to process 20 jxl files is 4004 Time to process 20 jxl files is 3919 Time to process 20 jxl files is 3882
PNG Time to process 20 png files is 362 Time to process 20 png files is 398 Time to process 20 png files is 379
I have attached a sample jxl file
Sample.zip