django-imagekit
django-imagekit copied to clipboard
Support "Simple" Processors
We should consider supporting "simple" processors—callables that accept an image and return an image. That way you wouldn't have to define a processor class if you aren't accepting any arguments.
def dostuff(im):
# whatever
return im
# in your spec
processors = [ResizeToFit(100, 100), dostuff]