class documentation

class ImageFile(File):

Known subclasses: django.db.models.fields.files.ImageFieldFile

View In Hierarchy

A mixin for use alongside django.core.files.base.File, which provides additional features for dealing with images.
Method ​_get​_image​_dimensions Undocumented
Instance Variable ​_dimensions​_cache Undocumented
Property height Undocumented
Property width Undocumented

Inherited from File:

Method __iter__ Undocumented
Method chunks Read the file and yield chunks of chunk_size bytes (defaults to File.DEFAULT_CHUNK_SIZE).
Method close Undocumented
Method multiple​_chunks Return True if you can expect multiple chunks.
Method open Undocumented
Constant DEFAULT​_CHUNK​_SIZE Undocumented
Instance Variable file Undocumented
Instance Variable mode Undocumented
Instance Variable name Undocumented
Method __bool__ Undocumented
Method __enter__ Undocumented
Method __exit__ Undocumented
Method __init__ Undocumented
Method __len__ Undocumented
Method __repr__ Undocumented
Method __str__ Undocumented
Property size Undocumented

Inherited from FileProxyMixin (via File):

Method readable Undocumented
Method seekable Undocumented
Method writable Undocumented
Class Variable encoding Undocumented
Class Variable fileno Undocumented
Class Variable flush Undocumented
Class Variable isatty Undocumented
Class Variable newlines Undocumented
Class Variable read Undocumented
Class Variable readinto Undocumented
Class Variable readline Undocumented
Class Variable readlines Undocumented
Class Variable seek Undocumented
Class Variable tell Undocumented
Class Variable truncate Undocumented
Class Variable write Undocumented
Class Variable writelines Undocumented
Property closed Undocumented
def _get_image_dimensions(self):

Undocumented

_dimensions_cache =

Undocumented

@property
height =

Undocumented

@property
width =

Undocumented