All PIL related issues.
Bases: dict
Raise a KeyError for 'transparency' when image.mode is not 'P'.
Assert that the tag is writable. This can raise an NotWritableTagError because of several reasons:
Parameters: |
|
---|---|
Returns: | True, if writable |
Return type: | bool |
Clears the log.
Remove circular reference.
Get the log contents.
Returns: | the log |
---|---|
Return type: | string |
The photo can become dirty in two ways:
In case the image size has changed it will update the Exif.Photo.PixelXDimension and Exif.Photo.PixelYimension accordingly.
Returns: | True, if dirty |
---|---|
Return type: | boolean |
Log a message
Parameters: |
|
---|
Parameters: |
|
---|
Do this explicitly so __setitem__ gets called.
If the image is exif writable and if the size has changed, it will update Exif.Photo.PixelXDimension and Exif.Photo.PixelYimension.
Bases: exceptions.Exception
Use get_photo() to obtain a photo from a filename.
Remove circular references.
Converts all layers to a different mode.
Resizes all layers to a different size
Convert the photo into a safe mode for this specific format
Saves a flattened image
Provide attribute access to the variables.
Parameters: |
|
---|
>>> d = {'date': '2008-11-27 13:54:33', 'tuple': (1, 2)}