Skip to content

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

@jonsneyers

Description

@jonsneyers

(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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions