Skip to content

Instantly share code, notes, and snippets.

@CLozy
Last active July 12, 2022 11:47
Show Gist options
  • Save CLozy/fe2f590cde344cae4087537d48307575 to your computer and use it in GitHub Desktop.
Save CLozy/fe2f590cde344cae4087537d48307575 to your computer and use it in GitHub Desktop.
from PIL import Image
from matplotlib import pyplot
#load image
image = Image.open('/content/gdrive/MyDrive/ComputerVisionEngineer/images/deadstar.jpg')
#summarize some details about the image
print(image.format)
print(image.mode)
print(image.size)
#show image
image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment