module documentation

Utility functions for handling images. Requires Pillow as you might imagine.

Class ImageFile A mixin for use alongside django.core.files.base.File, which provides additional features for dealing with images.
Function get_image_dimensions Return the (width, height) of an image, given an open file or a path. Set 'close' to True to close the file at the end if it is initially in an open state.
def get_image_dimensions(file_or_path, close=False): (source)

Return the (width, height) of an image, given an open file or a path. Set 'close' to True to close the file at the end if it is initially in an open state.