Re: PIL + show() + Vista

2007-11-30 Thread Tim Golden
Méta-MCI (MVP) wrote: [Excuse my execrable French below] > Sorry, I don't understand english. But, with Babelfish-translation, I > recovered essence... > (you should learn French ; yes! yes! yes!) Vraiment! > I have just try on another CPU, with a very new Vista-premium > (configuration of

Re: PIL + show() + Vista

2007-11-30 Thread M�ta-MCI (MVP)
Hi! Sorry, I don't understand english. But, with Babelfish-translation, I recovered essence... (you should learn French ; yes! yes! yes!) > I'm glad you found a solution Thank you for your solicitude > if that executable doesn't honour the wait I have just try on another CPU, with a very

Re: PIL + show() + Vista

2007-11-30 Thread Tim Golden
Méta-MCI (MVP) wrote: > Hi, Tim! > > You are right, for shimgvw.dll (on XP / 2000, or some Vista). But > others Vista (ou users practice) had associate images with > WindowsPhotoGallery.exe. > > But shimgvw.dll already exist. > > I found that this line: > > command = 'start "%s"

Re: PIL + show() + Vista

2007-11-30 Thread M�ta-MCI (MVP)
Hi, Tim! You are right, for shimgvw.dll (on XP / 2000, or some Vista). But others Vista (ou users practice) had associate images with WindowsPhotoGallery.exe. But shimgvw.dll already exist. I found that this line: command = 'start "%s" /wait %s\\System32\\rundll32.exe %s\\System3

Re: PIL + show() + Vista

2007-11-30 Thread Tim Golden
Méta-MCI (MVP) wrote: > Re! > > I have found the problem. On Vista, the Windows-Photo-Galery (soft > default displayer) don't wait. Even with START /WAIT (in Image.py & > _showxv), it don't wait. > > Then, like the preview don't wait, the (next) "DEL" run prior the end of > the launch of th

Re: PIL + show() + Vista

2007-11-30 Thread M�ta-MCI (MVP)
Re! I have found a (very) poor solution: in Image.py, inside _showxv function, replace command = "start /wait %s && del /f %s" % (file, file) by command = 'start "%s" /wait "%s\\System32\\mshta.exe" "%s" && del /f "%s" ' % (title,os.environ['WINDIR'],file,file) For zoom in preview, use

Re: PIL + show() + Vista

2007-11-30 Thread M�ta-MCI (MVP)
Re! I have found the problem. On Vista, the Windows-Photo-Galery (soft default displayer) don't wait. Even with START /WAIT (in Image.py & _showxv), it don't wait. Then, like the preview don't wait, the (next) "DEL" run prior the end of the launch of the software ; and Windows-Photo-Galery d

Re: PIL + show() + Vista

2007-11-30 Thread M�ta-MCI (MVP)
Hi! Not a true solution ; because people who don't have IrfanView don't use it. @-salutations Michel Claveau -- http://mail.python.org/mailman/listinfo/python-list

Re: PIL + show() + Vista

2007-11-29 Thread Cousin Stanley
> This code: > import Image > img = Image.open(r"D:\ParisNude.jpg") > img.show() > > Don't run on my Vista computer. > > I have a solution: import Image,os img = Image.open(r"D:\FLundhNoNude.jpg") os.startfile(img.filename) > Michel As an alternative you migh

PIL + show() + Vista

2007-11-29 Thread M�ta-MCI (MVP)
Hi! This code: import Image img = Image.open(r"D:\ParisNude.jpg") img.show() Don't run on my Vista computer. I have a solution: import Image,os img = Image.open(r"D:\FLundhNoNude.jpg") os.startfile(img.filename) It's only in my case? It's censure? ;-) PIL does not