Skip to content

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

4 participants