kevinpostal/django-imagekit — comment on commit 4dda3a54687dbb15a7d9fb518f422621856e80c5
File:  line 0
By matthewwithanm:

Do you know what `Image.save(transparency=None)` means to PIL? Maybe this would be a better idea:

if self.format in PALETTE_TRANSPARENCY_FORMATS:
try:
self.save_kwargs['transparency'] = img.info['transparency']
except KeyError:
pass