Ask Your Question

Show PIL image on notebook

asked 2012-08-13 19:04:06 +0200

Éliade gravatar image

On the notebook, after the following code

import Image
im ='tree.png')
im2 = im.rotate(90)

what is the instruction that will show the PIL im2 image ?

edit retag flag offensive close merge delete


Just a guess - close the image? It has to actually save in the notebook cell directory to show up.

kcrisman gravatar imagekcrisman ( 2012-08-13 21:59:41 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2012-08-14 02:47:55 +0200

ndomes gravatar image
import Image
im ='tree.png')
im2 = im.rotate(90)'tree2.png')
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-08-13 19:04:06 +0200

Seen: 704 times

Last updated: Aug 14 '12