Skip to content

Use hopper - #16

Merged
Yay295 merged 2 commits into
Yay295:testingfrom
radarhere:testing
Apr 7, 2024
Merged

Yay295 merged 2 commits into
Yay295:testingfrom
radarhere:testing

Conversation

@radarhere

Copy link
Copy Markdown

Ideas for python-pillow#7921

  • Rather than determining pixel size to create a simple image, you can just use hopper()
  • Shorten image_mode_names to modes

@Yay295
Yay295 merged commit 02911c7 into Yay295:testing Apr 7, 2024
@radarhere
radarhere deleted the testing branch April 7, 2024 22:52
@Yay295

Yay295 commented Apr 8, 2024 •

Copy link
Copy Markdown
Owner

I guess I merged it too soon. It looks like this fails for BGR;15 (and presumably also BGR;16) on big-endian.

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.

2 participants