[Tutor] Image library

Alan Gauld alan.gauld at btinternet.com
Thu Jun 4 17:51:27 CEST 2015


On 04/06/15 15:09, abhijeet560 at yahoo.in wrote:
> i wanted to know that how can i show or display a simple image using python 3.4

The Tkinter package in the standard library includes a Canvas widget 
which can display various forms of image. It depends what format the 
image is in. You will probably need to create a PhotoImage object then 
inset that into the canvas.

> The thing is that i want to know that there is no image module or library
 > located in the library folder under python 3.4.?

There is no specific image folder but there is the Tkinter GUI tookit

There are several 3rd party toolkits you can downloasd too such as 
Pillow and imageMagick (for manipulating/converting images).
Both include very basic display capability.


-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Tutor mailing list