While "image" and "picture" are synonymous in English, I'm sure most of you are aware that they are not in Python.
By "picture" I'm referring to the type used by the Picture.py module. By "image" I am referring to the type used by Image.py and ImageOps.py.
There are useful functions in both modules, and although I can convert from picture to image by simply using
image = picture.get_image()
I don't know how to go from the image back to the picture?
I've found an inefficient way by saving the image as a temporary file (image.save(tempfile)) and using make_picture(tempfile). But obviously this is not ideal. Is there a way to do this without going through external files?
Thanks a lot!
Btw, this is my first post. Hello everyone!
-Areeb