How to read Python image from string data imageData? I have tried Image.fromstring from PIL and numpy.frombuffer but it hasn't worked yet.
f = open('lena.bmp','rb')
imageData = f.read()
How to read Python image from string data imageData? I have tried Image.fromstring from PIL and numpy.frombuffer but it hasn't worked yet.
f = open('lena.bmp','rb')
imageData = f.read()