Skip to content

test: compare lossy lj2k output to source, not a ref image - #5674

Open
lgritz wants to merge 1 commit into
AcademySoftwareFoundation:mainfrom
lgritz:lg-exrjph33
Open

lgritz wants to merge 1 commit into
AcademySoftwareFoundation:mainfrom
lgritz:lg-exrjph33

Conversation

@lgritz

@lgritz lgritz commented Nov 8, 2026

Copy link
Copy Markdown
Collaborator

OpenEXR bumping its vendored OpenJPH to 0.33 broke our CI because the lossy encoder output changed slightly vs 0.32.

This patch switches testsuite/openexr-compression's comparison strategy for j2k to make it less brittle: compare it against the original image with a threshold suited to lossy compression instead of against a stored reference, and drop ref/out-lj2k.exr.

Assisted-by: Claude Code / Claude Opus 5.5

OpenEXR bumping its vendored OpenJPH to 0.33 broke our CI because the
lossy encoder output changed slightly vs 0.32.

This patch switches testsuite/openexr-compression's comparison
strategy for j2k to make it less brittle: compare it against the
original image with a threshold suited to lossy compression instead of
against a stored reference, and drop ref/out-lj2k.exr.

Assisted-by: Claude Code / Claude Opus 5.5

Signed-off-by: Larry Gritz <lg@larrygritz.com>
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

Successfully merging this pull request may close these issues.

1 participant