Hi all,
I am using PIL under Mac OS X and trying to display an image with:
im.show()
I got an error message telling me that the jpeg encoder is not available so I installed again PIL by making the changes in the setup.py (JPEG_ROOT="/sw/lib","/sw/include" (since I use the libjpeg from fink). Now the setup.py build gives me the message:
running build_ext -------------------------------------------------------------------- PIL 1.1.5 BUILD SUMMARY -------------------------------------------------------------------- version 1.1.5 platform darwin 2.3 (#1, Sep 13 2003, 00:49:11) [GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] -------------------------------------------------------------------- *** TKINTER support not available --- JPEG support ok --- ZLIB (PNG/ZIP) support ok --- FREETYPE2 support ok --------------------------------------------------------------------
but the selftest.py still launches an error on the availability of JPEG decoder...
***************************************************************** 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.
By doing im.show() still have the original error message that the jpg encoder is not available... I am quite lost and would appreciate any help...
Thanks in advance Aureli
-- ############################################ Aureli Soria Frisch
post: Stargarder Str. 73 SF, 10437 Berlin, Germany e-mail: [EMAIL PROTECTED] fon: +49 (0) 174 574 79 74 web: http://klendathu.ipk.fhg.de/~aureli/ ############################################ _______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig