diff options
Diffstat (limited to 'libmat2/images.py')
| -rw-r--r-- | libmat2/images.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libmat2/images.py b/libmat2/images.py index f9171e5..d47536b 100644 --- a/libmat2/images.py +++ b/libmat2/images.py | |||
| @@ -19,6 +19,9 @@ from . import abstract | |||
| 19 | assert Set | 19 | assert Set |
| 20 | 20 | ||
| 21 | class _ImageParser(abstract.AbstractParser): | 21 | class _ImageParser(abstract.AbstractParser): |
| 22 | """ Since we use `exiftool` to get metadata from | ||
| 23 | all images fileformat, `get_meta` is implemented in this class, | ||
| 24 | and all the image-handling ones are inheriting from it.""" | ||
| 22 | meta_whitelist = set() # type: Set[str] | 25 | meta_whitelist = set() # type: Set[str] |
| 23 | 26 | ||
| 24 | @staticmethod | 27 | @staticmethod |
| @@ -72,7 +75,7 @@ class PNGParser(_ImageParser): | |||
| 72 | 75 | ||
| 73 | class GdkPixbufAbstractParser(_ImageParser): | 76 | class GdkPixbufAbstractParser(_ImageParser): |
| 74 | """ GdkPixbuf can handle a lot of surfaces, so we're rending images on it, | 77 | """ GdkPixbuf can handle a lot of surfaces, so we're rending images on it, |
| 75 | this has the side-effect of removing metadata completely. | 78 | this has the side-effect of completely removing metadata. |
| 76 | """ | 79 | """ |
| 77 | _type = '' | 80 | _type = '' |
| 78 | 81 | ||
