Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from io import BytesIO
- from PIL import Image
- image_file = BytesIO(open("./example-chromium.png", "rb").read())
- img = Image.open(image_file)
- img.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement