This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- 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') |