Skip to content

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
@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