PIL for Python 2.0 on Win32?

Robin Becker robin at jessikat.fsnet.co.uk
Fri Nov 3 12:06:57 EST 2000


In article <8tuhg201ipv at news2.newsguy.com>, Alex Martelli
<aleaxit at yahoo.com> writes
>"Fredrik Lundh" <fredrik at effbot.org> wrote in message
>news:NXjM5.3565$QH2.347468 at newsb.telia.net...
>    [snip]
>> robin only posted the binary file; you also need PIL.pth and
>> the PIL directory from the source distribution:
>>
>>     http://www.pythonware.com/products/pil/index.htm
>
>and, also, you need an appropriate libjpeg.dll; else, you
>will get an error messagebox from the system, and, although
>there will be no crash (at least not on NT, where I tried
>it!), the _imaging.pyd will not in fact be loaded (you'll
>be able to open a .ppm and display its size, but not to
>call .show on it, for example).
>
>Unfortunately, I have not yet found out *what* exact
>version of "libjpeg.dll" is needed -- maybe I'm missing
>something in the PIL docs, but I can't find any precise
>URL to get it from (or instructions on how exactly to
>build what PIL needs, either).  IJG's jpeg sources pack
>is oriented to building a static library (on Win32/VC++),
>not a .DLL, and, while I could start guessing and
>experimenting, I'm still hoping that somebody can save
>me that time and effort...?
...
stupid me I'll put all the things I use there as well.

libz, libpng, libttf & libjpeg should now be at

ftp://ftp.reportlab.com/win32-dlls/2.0
-- 
Robin Becker



More information about the Python-list mailing list