← Back to context

Comment by CodesInChaos

1 day ago

Lepton guarantees that JPEG->Lepton->JPEG produces an identical file, not just identical pixels. Does JPEG XL achieve the same thing?

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.