Recently ran into an issue when implementing thumbnail generation for our website. Some of the Jpeg images were getting blue color thumbnail background causing customer complaints. Using image magic solved the issue but Image magic was out of process and very slow.We use PIL for image generation and we were using PIL 1.1.6. You can check your PIL version by doing
import Image
Image.VERSION
For those of you facing similar issue, upgrading to PIL 1.1.7 fixed the issue.
At first installing PIL 1.1.7 was not working as the python was somehow still picking up 1.1.6, I had to remove all old references by doing "apt-get remove python-imaging" and that solved the issue.
import Image
Image.VERSION
For those of you facing similar issue, upgrading to PIL 1.1.7 fixed the issue.
At first installing PIL 1.1.7 was not working as the python was somehow still picking up 1.1.6, I had to remove all old references by doing "apt-get remove python-imaging" and that solved the issue.
Comments
Post a Comment