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 hopper #16

Merged
merged 2 commits into from
Apr 7, 2024
Merged

Use hopper #16

merged 2 commits into from
Apr 7, 2024

Conversation

radarhere
Copy link

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
49 of 50 checks passed
@radarhere radarhere deleted the testing branch April 7, 2024 22:52
@Yay295
Copy link
Owner

Yay295 commented Apr 8, 2024

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