Skip to content

Instantly share code, notes, and snippets.

View anujshah1003's full-sized avatar

Anuj Shah anujshah1003

View GitHub Profile
# -*- coding: utf-8 -*-
#%%
# import Image and the graphics package Tkinter
import Tkinter
from PIL import Image, ImageTk
# open a SPIDER image and convert to byte
#format
im = Image.open('pic.jpg')