0

Mac OS X: decoder jpeg not available

 2 years ago
source link: https://fann.im/blog/2010/06/22/mac-os-x-decoder-jpeg-not-available/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Mac OS X: decoder jpeg not available

Jun 22, 2010

When you are using PIL to resize a JPEG image file, you will probably have a “decoder jpeg not available” error,this means that PIL doesn’t have JPEG support.

Here is the solution:

  1. Download and install MacPorts.
  2. sudo port install jpeg, this will install libjpeg.
  3. sudo port install py25-pil

That’s it.

Was this page helpful?


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK