[Fwd: [IMAGE-SIG] installation of PIL 0.3a1]
Daniel Michelson
Daniel.Michelson@smhi.se
Thu, 10 Jul 1997 14:37:43 +0200
Hej again,
> The installation seems to result in an OK PIL, apart from these
> glitches. Then again, I haven't put PIL to the test yet. Who knows what=
> will come out of the woodwork...
As I was saying ... despite my configuring the jpeg lib (6) without a
hitch, and pointing PIL at it according to the instructions, PIL won't
associate itself with it:
Python 1.4 (Feb 4 1997) [C]
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import Image
>>> this =3D Image.open("Images/lena.jpg")
>>> this.show()
Traceback (innermost last):
File "<stdin>", line 1, in ?
File "./Lib/Image.py", line 533, in show
_showxv(self, title)
File "./Lib/Image.py", line 780, in _showxv
file =3D self._dump()
File "./Lib/Image.py", line 227, in _dump
self.load()
File "./Lib/ImageFile.py", line 119, in load
d =3D Image._getdecoder(d, e, a, self.decoderconfig)
File "./Lib/Image.py", line 144, in _getdecoder
raise IOError, "decoder %s not available" % d
IOError: decoder jpeg not available
>>> =
I have a vague memory of someone else running into the same problem a
while back. =
Please tell me how to get jpeg into PIL.
best, -d
+------------------+--------------------------------------------------+
| | Daniel B. Michelson |
| /\ |\ /| | | | | Swedish Meteorological and Hydrological Institute|
| \ | \/ | |__| | | S-601 76 Norrk=F6ping, Sweden |=
| \ | | | | | | Telephone: +46 11 - 15 84 94 |
| \/ | | | | | | Telefax: +46 11 - 17 02 07 |
| | Internet: Daniel.Michelson@smhi.se |
+------------------+--------------------------------------------------+
_______________
IMAGE-SIG - SIG on Image Processing with Python
send messages to: image-sig@python.org
administrivia to: image-sig-request@python.org
_______________