I am converting from a numpy array to an image using the
Image.fromarray()
The docstring shows that the default mode is “None”. What does that mean? Is it one of the modes such as “L”, or is it another mode?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you don’t specify a mode or specify None, it will decide which mode to use from the type.
(The authors of the Image class appear not to know how to write a Python docstring; the doc comments are all there in the source, but as comments rather than a docstring.)