Re: py2exe: cannot identify image file

2006-08-21 Thread Michele Petrazzo
Daniel Mark wrote: > Hello all: > > It seems that function 'Image.open' cannot read image file under EXE > application. What should I do for this problem? > google and "pil py2exe", the first reply: http://starship.python.net/crew/theller/moin.cgi/PIL_20and_20py2exe > > Thank you -Daniel >

py2exe: cannot identify image file

2006-08-18 Thread Daniel Mark
Hello all: I have following code that works well under command line, but it doesn't work after I convert it as exe application. ### file: testPath.py import getopt, math, sys, os, Image, ImageDraw, aggdraw def processline(): try: imgDir = 'c:/' lumenImageName = '0