praekelt/django-photologue — pull request #2 by juriejan (2011-10-18 09:37:15+00:00)
Title: Colorspace fixing when creating new image size

Currently an error occurs when you attempt to create a new image size from certain types of GIF images. The error states that it cannot write a mode P image object into a JPEG. The recommended solution for this is to convert a P mode image to an RGB one.

I've added something a little more extensive that I found in a snippet that takes care of even more scenarios.