PIL for Python 2.0 on Win32?

Alex Martelli aleaxit at yahoo.com
Fri Nov 3 09:13:41 EST 2000


"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...?


Alex






More information about the Python-list mailing list