[Image-SIG] jpeg decoder with PIL 1.1.5
Mathieu Drapeau
mathieu.drapeau at mcgill.ca
Thu Dec 1 22:05:03 CET 2005
Hi there,
I am trying to install PIL 1.1.5 with jpeg decoder.
I installed from RPM and also from sources the libjpeg-6b into
/usr/local/lib.
I change the ROOT_JPEG in setup.py to point to that location.
When I install PIL 1.1.5, I get a message that the JPEG support is OK.
But when I test it, I get a message of decoder error. Someone could help
me? I tried by myself in python and received the same IOError message.
Thanks,
Mathieu
*** INSTALLATION ***
running install
running build
running build_py
running build_ext
--------------------------------------------------------------------
PIL 1.1.5 BUILD SUMMARY
--------------------------------------------------------------------
version 1.1.5
platform linux2 2.3.5 (#1, Nov 15 2005, 16:30:27)
[GCC 4.0.0 20050519 (Red Hat 4.0.0-8)]
--------------------------------------------------------------------
*** TKINTER support not available
--- JPEG support ok
--- ZLIB (PNG/ZIP) support ok
*** FREETYPE2 support not available
--------------------------------------------------------------------
To add a missing option, make sure you have the required
library, and set the corresponding ROOT variable in the
setup.py script.
To check the build, run the selftest.py script.
running build_scripts
running install_lib
running install_scripts
changing mode of /usr/local/bin/pilprint.py to 775
changing mode of /usr/local/bin/pilfont.py to 775
changing mode of /usr/local/bin/pildriver.py to 775
changing mode of /usr/local/bin/pilconvert.py to 775
changing mode of /usr/local/bin/pilfile.py to 775
creating /usr/local/lib/python2.3/site-packages/PIL.pth
*** TEST ***
*****************************************************************
Failure in example: _info(Image.open("Images/lena.jpg"))
from line #24 of selftest.testimage
Exception raised:
Traceback (most recent call last):
File "./doctest.py", line 499, in _run_examples_inner
exec compile(source, "<string>", "single") in globs
File "<string>", line 1, in ?
File "./selftest.py", line 21, in _info
im.load()
File "PIL/ImageFile.py", line 180, in load
d = Image._getdecoder(self.mode, d, a, self.decoderconfig)
File "PIL/Image.py", line 328, in _getdecoder
raise IOError("decoder %s not available" % decoder_name)
IOError: decoder jpeg not available
1 items had failures:
1 of 55 in selftest.testimage
***Test Failed*** 1 failures.
*** 1 tests of 55 failed.
More information about the Image-SIG
mailing list