Skip to content

Fix: Allow BaselineImage as alternative to ValidImage - #3915

Merged
josephsnyder merged 1 commit into
Kitware:masterfrom
williamjallen:image-diff-backwards-compatibility
Aug 3, 2026
Merged

Fix: Allow BaselineImage as alternative to ValidImage#3915
josephsnyder merged 1 commit into
Kitware:masterfrom
williamjallen:image-diff-backwards-compatibility

Conversation

@williamjallen

Copy link
Copy Markdown
Collaborator

As per the docs in docs/test_measurements.md, BaselineImage should be accepted as an alternative to ValidImage for backwards compatibility purposes. I wasn't aware of this in my recent refactoring efforts, and accidentally removed support for BaselineImage. This PR re-adds it, with appropriate tests.

Fixes #3883.

As per the docs in `docs/test_measurements.md`, `BaselineImage` should be accepted as an alternative to `ValidImage` for backwards compatibility purposes.  I wasn't aware of this in my recent refactoring efforts, and accidentally removed support for `BaselineImage`.  This PR re-adds it, with appropriate tests.

Fixes Kitware#3883.

@josephsnyder josephsnyder left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@josephsnyder
josephsnyder added this pull request to the merge queue Aug 3, 2026
Merged via the queue into Kitware:master with commit 2336c93 Aug 3, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

v5.2.0 image comparison regression

2 participants