[Fwd: [IMAGE-SIG] installation of PIL 0.3a1]

Fredrik Lundh Fredrik Lundh" <fredrik_lundh@ivab.se
Thu, 10 Jul 1997 16:23:01 +0200

> IOError: decoder jpeg not available
> I have a vague memory of someone else running into the same problem a
> while back.

What versions are you using? For smooth installation, you need
libjpeg 6.0 (not 6.0a!), and PIL 0.3a1.

If you have PIL 0.2b4, you have to edit the Setup file so the jpeg
gets linked in (see comments in the file for details). In 0.3a1, this
is done by default.

If you have version 6.0a of the JPEG library, you have to change
"METHODDEF xxx" to "METHODDEF(xxx)" in the JpegDecode.c and
JpegEncode.c files (see the libjpeg README for more info).  It is also
 likely that ./configure fails to identify 6.0a, which means that you
must hack libImaging/ImConfig.h to make sure HAVE_LIBJPEG is

Cheers /F

IMAGE-SIG - SIG on Image Processing with Python

send messages to: image-sig@python.org
administrivia to: image-sig-request@python.org