Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

looks like low-freq AC coefficient got flipped, maybe overflow caused by overshoot-based deringing? #444

Open
jonsneyers opened this issue Oct 9, 2024 · 0 comments

Comments

@jonsneyers
Copy link

(Reported by DZgas on the jxl discord)

example.png:
example

cjpeg -baseline -notrellis -sample 2x2 -quality 50 -tune-psnr -quant-table 1 example.png > example.jpg:
example

Looks to me like the AC coefficient corresponding to the lowest frequency horizontal somehow got a sign flip in that spot, possibly because of black-on-white deringing via overshoot causing an integer overflow. Adding -noovershoot produces an image that is OK, so that seems to confirm this hypothesis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant