-
Apr '0925
JPEG Support in PIL
Been working on the django side of the site and needed to install PIL. But after I built it I released that it doesn’t come with JPEG support :(
*Update – Follow these instructions on Snow Leopard: http://breadandpepper.com/blog/2009/oct/2/django-development-snow-leopard/
*** JPEG support not available
Here are the steps for getting jpeg support on the mac, this should work for linux too, I have no idea what to do on that other OS…
- Download the jpeg source: http://www.ijg.org/.
- Unzip the file.
- In terminal cd into the directory: cd jpeg-6b/
- Then type: ./configure
- Then make
- I had some trouble installing the library because some directories did not exist. Make sure the following directories exist, and if they don’t use sudo mkdir to create them:
- /usr/local/include
- /usr/local/lib/
- Once these directories exists you should be ready to install: sudo make install
— JPEG support ok