Skip to content

Conversation

@radarhere
Copy link
Member

@radarhere radarhere commented Mar 31, 2023

Resolves #5850 by documenting the available pixel types of Pillow modes, and noting that they do not always correspond to NumPy dtypes.

Helps #7045 by documenting that converting P or PA images to NumPy will not include the palette.

@radarhere radarhere changed the title Improve mode hand when converting from NumPy Document handling of modes when converting to or from NumPy Mar 31, 2023
@hugovk hugovk merged commit 93afedf into python-pillow:main Mar 31, 2023
@radarhere radarhere deleted the numpy branch March 31, 2023 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect SampleFormat and BitsPerSample

2 participants