Generated: Tue 2014-07-15 16:34 CEST
Source file: /home/dkaufhold/projects/django-user-media/src/user_media/processors.py
Stats: 4 executed, 0 missed, 0 excluded, 4 ignored
"""Image processors for easy_thumbnails."""
def crop_box(im, box=False, **kwargs):
"""Uses box coordinates to crop an image without resizing it first."""
if box:
im = im.crop(box)
return im