Advertisement
doubledare704

Untitled

Mar 24th, 2021
615
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.15 KB | None | 0 0
  1. from io import BytesIO
  2. from PIL import Image
  3.  
  4. image_file = BytesIO(open("./example-chromium.png", "rb").read())
  5. img = Image.open(image_file)
  6. img.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement