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

Add mode to ImageOps._lut() error message #7490

Merged
merged 4 commits into from Oct 27, 2023
Merged

Conversation

Yay295
Copy link
Contributor

@Yay295 Yay295 commented Oct 24, 2023

Added the image mode to the error message, so you can see what mode it's erroring on.

src/PIL/ImageOps.py Outdated Show resolved Hide resolved
@radarhere
Copy link
Member

You were presumably inspired by #7473 for this, wanting to make that error easier to debug for future users.

Yay295 and others added 2 commits October 23, 2023 21:46
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
@hugovk hugovk merged commit d3fd173 into python-pillow:main Oct 27, 2023
53 checks passed
@Yay295 Yay295 deleted the patch-1 branch October 27, 2023 06:00
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.

None yet

3 participants