[Tutor] How do I display a picture?

Alan Gauld alan.gauld at yahoo.co.uk
Wed May 17 21:03:58 EDT 2017


On 18/05/17 00:24, Michael C wrote:

> or to find another way to display the picture without using python image
> library.


There are lots of ways it depends on what you actually want
to do with the image. For example you can run your favourite
image viewer program(that looks like what PIL is doing)

Or you could create a temporary html file with an img tag
pointing at the image, then open your browser on that file.

Or you can create a simple GUI and put the image into a
canvas component.

Or you could use a different image editing module like
the ImageMagik module(forgotten the name) or Blender.

It just depends what you need it for which solution suits.

-- 
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