module documentation

Utility functions for handling images.

Requires Pillow as you might imagine.

Class ​Image​File 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):
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.