mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-03-17 05:40:25 +00:00
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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| resize.py | ||