Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Python
PIL(Py Image lib), show() not showing picture...
 

Index | Next | Previous | View Flat


circularfunc at yahoo

Jul 3, 2008, 2:28 AM


Views: 77
Permalink
PIL(Py Image lib), show() not showing picture...

from PIL import Image
import os

print os.path.exists('C:/Users/saftarn/Desktop/images/blob.jpg')

im2 = Image.open('C:/Users/saftarn/Desktop/images/blob.jpg')
im2.show()
first the command prompt pops up then the normal window to display
pictures but it doenst show a picture.

the prin os.path.exists returns true and opening the file by clicking
on it works. ive also tried gif-files with no success.
--
http://mail.python.org/mailman/listinfo/python-list

Subject User Time
PIL(Py Image lib), show() not showing picture... circularfunc at yahoo Jul 3, 2008, 2:28 AM
    Re: PIL(Py Image lib), show() not showing picture... enleverlesX.XmcX at XmclaveauX Jul 3, 2008, 1:20 PM
        Re: PIL(Py Image lib), show() not showing picture... circularfunc at gmail Jul 3, 2008, 1:39 PM
        Re: PIL(Py Image lib), show() not showing picture... circularfunc at gmail Jul 3, 2008, 1:40 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.