Skip to content

Instantly share code, notes, and snippets.

@BilHim
Created February 17, 2021 13:58
Show Gist options
  • Save BilHim/394f112bae25e67145d17347e832afaf to your computer and use it in GitHub Desktop.
Save BilHim/394f112bae25e67145d17347e832afaf to your computer and use it in GitHub Desktop.
Opening an image in Pillow
from PIL import Image
# Open image
image = Image.open('image.jpg')
# Show image
image.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment