Show PIL image on notebook
On the notebook, after the following code
import Image
im = Image.open(DATA+'tree.png')
im2 = im.rotate(90)
what is the instruction that will show the PIL im2 image ?
On the notebook, after the following code
import Image
im = Image.open(DATA+'tree.png')
im2 = im.rotate(90)
what is the instruction that will show the PIL im2 image ?
import Image
im = Image.open(DATA+'tree.png')
im2 = im.rotate(90)
im2.save('tree2.png')
Asked: 12 years ago
Seen: 764 times
Last updated: Aug 14 '12
Just a guess - close the image? It has to actually save in the notebook cell directory to show up.