Hacker News new | ask | show | jobs
by CodesInChaos 49 days ago
Lepton guarantees that JPEG->Lepton->JPEG produces an identical file, not just identical pixels. Does JPEG XL achieve the same thing?
4 comments

That's actually the default behavior for libjxl cli: encoding and then decoding jpeg via jxl produces a file bit identical to the original jpeg file.

Try it: run cjxl › djxl and hash the output against the original.

Yes, with all metadata preserved. The converted JXL even has checksum metadata for verification
Yes
yes