[Image-SIG] Tif Images

Fredrik Lundh fredrik at pythonware.com
Tue Dec 6 12:02:47 CET 2005

Gary Lehan wrote:
> I am currently trying to create PDF files using TIF or JPG files for my
> input. I have written a routine that creates the PDF file correctly using
> PIL to retrieve my images. If I run the py2exe to create my  exe file
> and run the program I get an error as follows
> ==========================================
> ERROR: test (__main__.CITLPDF)
> ------------------------------------------
> Traceback (most recent call last):
>   File "pdfgen.py", line 51, in test
>   File "Image.pyc", line 1745, in open
> IOError: cannot identify image file
> ------------------------------------------

the py2exe wiki discusses common py2exe issues:


see section 1.3.4 for a solution to this specific issue.


More information about the Image-SIG mailing list