Created
May 17, 2013 14:03
-
-
Save iambibhas/5599223 to your computer and use it in GitHub Desktop.
Adding JPEG, PNG, ZIP and FREETYPE2 support to PIL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install libjpeg8 libjpeg62-dev libfreetype6 libfreetype6-dev | |
sudo ln -s /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib | |
sudo ln -s /usr/lib/x86_64-linux-gnu/libfreetype.so /usr/lib | |
sudo ln -s /usr/lib/x86_64-linux-gnu/libz.so /usr/lib | |
pip install PIL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-------------------------------------------------------------------- | |
PIL 1.1.7 SETUP SUMMARY | |
-------------------------------------------------------------------- | |
version 1.1.7 | |
platform linux2 2.7.3 (default, Sep 26 2012, 21:51:14) | |
[GCC 4.7.2] | |
-------------------------------------------------------------------- | |
*** TKINTER support not available | |
--- JPEG support available | |
--- ZLIB (PNG/ZIP) support available | |
--- FREETYPE2 support available | |
*** LITTLECMS support not available | |
-------------------------------------------------------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment