Easy image rendering?

skip at pobox.com skip at pobox.com
Wed Aug 9 21:06:30 EDT 2006


    import PIL.Image
    img = PIL.Image.open(open("someimage.png", "rb"))
    img.show()

No need for the extra open.  Sorry...

Skip




More information about the Python-list mailing list