Skip to content
Discussion options

You must be logged in to vote

I'm also curious about this difference in "RGB" and "rgb" mode behavior.

"rgb" was reported as an "unrecognized image mode". That makes sense to me. If you look at the list of Pillow modes, you will see that we have both RGBA and RGBa, along with LA and La. This means that we can't handle all mode names case insensitively.

I'm mostly just curious how "supported" this invisible float->integer conversion was

The behaviour has been present since Pillow forked from PIL. I don't think of features as being more or less supported, so I'm not sure what you mean. Within an issue talking about interpreting float NumPy data as integers, there was the following comment - #5465 (comment)

I think …

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@djhoese
Comment options

@djhoese
Comment options

Comment options

You must be logged in to vote
3 replies
@djhoese
Comment options

@radarhere
Comment options

Answer selected by djhoese
@djhoese
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants