[Tutor] Python Image Library

Alan Gauld alan.gauld at yahoo.co.uk
Thu May 18 04:55:20 EDT 2017


On 18/05/17 02:58, Michael C wrote:
> when I run this, while it's called test.pyw, this pops up
> 
> from PIL import Image
> 
> im = Image.open('1.bmp')
> im.show()

One suggestion is to use Pillow instead of PIL.
So far as I know PIL is frozen and all new development
is on Pillow. It is backwardly compatible although for
this case that hardly matters! But it's just possible
that this is fixed in Pillow?

But if this is all you are using PIL for then its
overkill and you would be much better off sing a
different approach. But that depends on what you
are trying to achieve.

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