I cannot use PIL because it cannot find my libjpeg!
First, I installed PIL default. And when I ran the selftest.py, it gave me:
selftest.py
IOError: dec
Today I was facing the same problem, and I've found the solution. Basically it involves remove the PIL, install lipjpeg through Fink and re-install the PIL.
I wrote an article telling step by step how to do that. If interesting check this out.