Quick Howto for PIL on Leopard 12 Aug, 2008
If you are trying to get PIL working and get messages about missing jpeg or freetype support, here's the quickest way to get going:
- Download PIL 1.1.6 source package and have the Developer Tools already installed
- Patch setup.py with this patch so it can find the Freetype you already have. (
patch -p0 < leopard_freetype2.diff) sudo apt-get install libjpegif you have fink (otherwise, build by hand and adjust paths)
You can use it without jpeg support but im.show() has jpeg hardcoded as the filetype so you would need to work around that.