[IMAGE-SIG] Decoding Jpegs

Dirk Elmendorf delmendo@cymitar.net
Sun, 01 Feb 1998 04:28:33 -0600 (CST)


I am running Red Hat Linux 4.2 
I installed  the IJG Jpeg Library Ver 6 from the Sig home page
I am using Python 1.5

I keep geting the following errors attempting to save/show jpegs

im=Image.open("whynot.jpg")
im.show()

Traceback (innermost last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/python1.5/Imaging/Lib/Image.py", line 353, in save
    self.load()
  File "/usr/local/lib/python1.5/Imaging/Lib/ImageFile.py", line 148, in load
    d = _getdecoder(d, e, a, self.decoderconfig)
  File "/usr/local/lib/python1.5/Imaging/Lib/ImageFile.py", line 49, in _getdecoder
    raise IOError, "decoder %s not available" % d
IOError: decoder jpeg not available
>>> 

Does this mean I have incorrectly installed the jpeg libarary or is the image library inco
mpatible with Python 1.5?

Any help would greatly be appreciated.

_________________________________________________________
Dirk Elmendorf, VP/Development           Main: 210-892-4000
Cymitar Technology Group, Inc.         Direct: 210-892-4005
Lorene Office Plaza                       Fax: 210-892-4329     
9828 Lorene Lane                   <http://www.cymitar.com>
San Antonio, TX 78216-4450           <delmendo@cymitar.com>
_________________________________________________________



_______________
IMAGE-SIG - SIG on Image Processing with Python

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