Hi all, I tried to read a jpg file. How can fix the following problem ?
File "test.py", line 15, in <module> im = imshow(lena, origin='lower') File "/data/home/nwagner/local/lib/python2.5/site-packages/matplotlib/pyplot.py", line 1915, in imshow ret = gca().imshow(*args, **kwargs) File "/data/home/nwagner/local/lib/python2.5/site-packages/matplotlib/axes.py", line 5498, in imshow im.set_data(X) File "/data/home/nwagner/local/lib/python2.5/site-packages/matplotlib/image.py", line 282, in set_data self._A = pil_to_array(A) File "/data/home/nwagner/local/lib/python2.5/site-packages/matplotlib/image.py", line 751, in pil_to_array x = toarray(im) File "/data/home/nwagner/local/lib/python2.5/site-packages/matplotlib/image.py", line 736, in toarray x_str = im.tostring('raw',im.mode,0,-1) File "/data/home/nwagner/local/lib/python2.5/site-packages/PIL/Image.py", line 513, in tostring self.load() File "/data/home/nwagner/local/lib/python2.5/site-packages/PIL/ImageFile.py", line 180, in load d = Image._getdecoder(self.mode, d, a, self.decoderconfig) File "/data/home/nwagner/local/lib/python2.5/site-packages/PIL/Image.py", line 375, in _getdecoder raise IOError("decoder %s not available" % decoder_name) IOError: decoder jpeg not available Is it possible to plot different jpg's in subplots ? Nils ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users