Python PIL and Vista/Windows 7 .. show() not working ...

Lie Ryan lie.1296 at gmail.com
Mon Nov 30 15:08:26 EST 2009


On 12/1/2009 5:04 AM, Esmail wrote:
>>
>>    im = Image.open('c://mypic.jpg')
>
> sorry, slip of the finger, there's only one forward slash
> or you can use two backward slashes.
>
> The problem isn't with opening it (I know it opens fine
> since I can get its size attribute via im.size) - the show()
> is the problem.


What's your default image viewer? im.show is intended to be for 
debugging purpose and may always guaranteed to work if your image viewer 
doesn't support receiving the file through <I don't know how PIL passes 
the image to the program>.



More information about the Python-list mailing list