Skip to content

Conversation

radarhere
Copy link
Member

If I skip building lcms2, then there is a test failure trying to create a LAB hopper, as convert() uses ImageCms to convert between RGB and LAB.

This PR checks for an ImportError, and if it happens, it opens Tests/images/hopper.Lab.tif instead.

With this, the tests pass.

@hugovk hugovk merged commit a8f434f into python-pillow:main Apr 26, 2024
@radarhere radarhere deleted the lab branch April 26, 2024 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants