GExiv2.PreviewImage¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class GExiv2.PreviewImage(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- free()[source]¶
Releases the preview image and all associated memory.
Deprecated since version 0.10.3: Use
GObject.Object.unref
() instead.
- try_write_file(path)[source]¶
- Parameters:
path (
str
) – The file path to write the preview image to.- Raises:
- Returns:
The number of bytes written to the file.
- Return type:
New in version 0.14.0.
- write_file(path)[source]¶
- Parameters:
path (
str
) – The file path to write the preview image to.- Returns:
The number of bytes written to the file.
- Return type:
Deprecated since version 0.14.0: Use
GExiv2.PreviewImage.try_write_file
() instead.