django-imagekit/imagekit
Matthew Tretter 8c9a9b8d5c AutoConvert processor
At first, we only had a small amount of code for preserving
transparency in `img_to_fobj`, but as that code grew it became apparent
that it really didn't belong in the utility function. This commit
creates an `AutoConvert` processor which is automatically run before
saving unless you disable it by passing `autoconvert=False` to your
`ImageSpec` or `ProcessedImageField` constructor. `img_to_fobj` is once
again a simple utility function for creating a file object from a PIL
image.
2011-11-06 21:44:31 -05:00
..
management PEP8-ing and whitespacing. 2011-10-31 23:12:03 +09:00
processors AutoConvert processor 2011-11-06 21:44:31 -05:00
templates/imagekit/admin Proper handling of empty images and missing fields 2011-11-03 12:33:22 -04:00
__init__.py Bumping version numbers. 2011-11-03 14:15:03 +09:00
admin.py Proper handling of empty images and missing fields 2011-11-03 12:33:22 -04:00
lib.py Future-proofing our PIL imports, fixes #37. 2011-10-13 14:35:16 +09:00
models.py AutoConvert processor 2011-11-06 21:44:31 -05:00
utils.py AutoConvert processor 2011-11-06 21:44:31 -05:00