Blog

Group 4 Faxes with PIL

Posted by: mark 1 year, 10 months ago
Recently I needed the ability to read Group4 Fax images for a Django website. Since Django already uses PIL, I decided to make [the mods listed here](https://www.kuro5hin.org/story/2010/4/15/133252/616) into

read more / Comments

SSL Certificate issues with Google AppEngine SDK

Posted by: mark 1 year, 11 months ago
I installed SSL for my Python 2.5 GAE SDK to allow me to deploy my new app this weekend. About the same time, the integration with Facebook broke due to a SSLCertificateError: "certificate verify failed". Turns out that the root of the problem is the file **urlfetch_cacerts.txt** which you can find in the lib/cacerts folder of your AppEngine SDK. Looks like Digicert replaced a certificate and therefore this file is no longer valid. It still works for Google, but won't work for facebook.

read more / Comments

Making Django more manageable

Posted by: mark 1 year, 11 months ago
On my windows machine I set up a batch script `manage.cmd` that looks like this.

read more / Comments

Setting up a Python Virtual environment with Django

Posted by: mark 1 year, 11 months ago

When you work on several unrelated projects at the same time, its generally a good idea to keep the work environments separate. Thanks to [Ian Bicking](http://blog.ianbicking.org/), this is relatively painless in python.

read more / Comments

Controlling TIFF Tags with PIL

Posted by: mark 2 years, 2 months ago
Since I couldn't find it documented anywhere in the PIL docs, I thought I'd list out what options Image.save() takes when saving a TiFF image.

read more / Comments