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

Use "gray" more consistently #7481

Merged
merged 2 commits into from
Oct 20, 2023
Merged

Use "gray" more consistently #7481

merged 2 commits into from
Oct 20, 2023

Conversation

radarhere
Copy link
Member

Resolves #7479

The issue finds that we are inconsistent about "greyscale" and "grayscale". This PR addresses "grey" vs "gray" more generally.

Searching, I found that "gray" was used more, so changing the rest to match was the smaller change.

However, I have left ImImagePlugin alone, as it actually writes "Greyscale" into image files.

SAVE = {
# mode: (im type, raw mode)
"1": ("0 1", "1"),
"L": ("Greyscale", "L"),
"LA": ("LA", "LA;L"),
"P": ("Greyscale", "P"),

@hugovk

This comment was marked as off-topic.

@hugovk

This comment was marked as off-topic.

@hugovk hugovk merged commit d05ff50 into python-pillow:main Oct 20, 2023
56 checks passed
@radarhere radarhere deleted the gray branch October 20, 2023 06:11
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.

Mix use of grayscale/greyscale in document and code
3 participants