image = Image.open(request.files["fullimage"])
returns:
IOError: cannot identify image file
and
image = Image.open(request.files["fullimage"].read())
returns:
IOError: [Errno 22] invalid mode ('rb') or filename: ''
What's the right way to do this, please?