Sign In | Register Now About Bytes | Help | Site Map
Connecting Tech Pros Worldwide

PIL(Py Image lib), show() not showing picture...

Question posted by: defn noob (Guest) on July 3rd, 2008 09:35 AM
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.
Méta-MCI \(MVP\)'s Avatar
Méta-MCI \(MVP\)
Guest
n/a Posts
July 3rd, 2008
08:35 PM
#2

Re: PIL(Py Image lib), show() not showing picture...
Hi!

Which OS? On Vista, you MUST reconfig the "aperçu images et
télécopies" (in french ; sorry, I don't know the english translation).

@-salutations

Michel Claveau


ssecorp's Avatar
ssecorp
Guest
n/a Posts
July 3rd, 2008
08:45 PM
#3

Re: PIL(Py Image lib), show() not showing picture...
On Jul 3, 10:20*pm, "Méta-MCI \(MVP\)"
<enleverlesX.X...@XmclaveauX.comwrote:
Quote:
Hi!
>
Which OS? * On Vista, you MUST reconfig the "aperçu images et
télécopies" (in french ; sorry, I don't know the english translation)..
>
@-salutations
>
Michel Claveau



VISTA.

i will try google translate :)

ssecorp's Avatar
ssecorp
Guest
n/a Posts
July 3rd, 2008
08:45 PM
#4

Re: PIL(Py Image lib), show() not showing picture...
On Jul 3, 10:20*pm, "Méta-MCI \(MVP\)"
<enleverlesX.X...@XmclaveauX.comwrote:
Quote:
Hi!
>
Which OS? * On Vista, you MUST reconfig the "aperçu images et
télécopies" (in french ; sorry, I don't know the english translation)..
>
@-salutations
>
Michel Claveau





thumbnail images and faxes? and how do i do that? i must do it in
windows or in the python library?

 
Not the answer you were looking for? Post your question . . .
189,816 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Latest Articles: Read & Comment
  • Didn't find the answer you were looking for?
    Post Your Question
  • Top Community Contributors