libjxl / libjxl

JPEG XL image format reference implementation
BSD 3-Clause "New" or "Revised" License
2.73k stars 263 forks source link

Photon noise doesn't work on fast lossless (effort 1) #2931

Open kampidh opened 1 year ago

kampidh commented 1 year ago

Describe the bug When encoding to jxl with fast lossless / e1, photon noise didn't give an expected noise to the output image. This only happens in effort 1, on effort 2 upwards the noise is properly applied. Tested both in latest precompiled v0.9.0 binary 7f9e745 and library (v0.8.2 as in Krita).

To Reproduce Steps to reproduce the behavior:

Expected behavior Noise should be properly applied on fast lossless (e1).

Environment

Additional context Example reference and results: noise-lossless-bug.zip containing: a reference png, an e1 with iso 512k noise, and an e2 with same iso 512k noise.

mo271 commented 1 year ago

thanks for the report!