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

Simplified RGB to I;16, I;16L and I;16B conversion #8008

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

radarhere
Copy link
Member

@radarhere radarhere commented Apr 24, 2024

Discussion at fb6b860#r141279400 has revealed that when converting from RGB to an I;16* mode, the result is not going to be larger than 8 bits, and so the code can be simplified.

Copy link
Contributor

@lukegb lukegb left a comment

Choose a reason for hiding this comment

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

Nice, thanks for the cleanup!

@hugovk hugovk added the Cleanup label Apr 24, 2024
@hugovk hugovk merged commit 1fc1179 into python-pillow:main Apr 24, 2024
56 checks passed
@radarhere radarhere deleted the convert branch April 24, 2024 22:36
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.

None yet

4 participants