class documentation

Base class for PIL plugin ImageFile types

Class Variable format Undocumented
Instance Variable tile Undocumented
Class Method _save Saves an image to a file pointer
Method _open Loads necessary image information from an opened file
Instance Variable _mode Undocumented
Instance Variable _size Undocumented

Undocumented

@classmethod
def _save(cls, im, fp, format=None, **params): (source)

Saves an image to a file pointer

This function is used to register formats with PIL and should not be called manually.

Parameters
imThe image to save
fpThe file pointer
formatThe format to save with (defaults to the image's known format) (unused)
**paramsAdditional encoder parameters (empty)
def _open(self): (source)

Loads necessary image information from an opened file

Undocumented

Undocumented