Skip to content Skip to sidebar Skip to footer

Python Pil Image.open() Error

hello i'm using PIL to open images but there are such errors like this; Traceback (most recent call last): File '/Users/minsw0810gmail.com/Desktop/GUIAccidentAlarm.py', line 14

Solution 1:

Image.open() only supports "r" as mode parameters and throws an exception for everything else.

Here is what the doc says about this parameter:

mode – The mode. If given, this argument must be “r”.

For more information here is the link:

http://pillow.readthedocs.io/en/3.4.x/reference/Image.html#PIL.Image.open

I hope this can help you.

Post a Comment for "Python Pil Image.open() Error"