diff options
| author | jvoisin | 2015-11-02 18:23:57 +0100 |
|---|---|---|
| committer | jvoisin | 2015-11-02 18:23:57 +0100 |
| commit | d87711e172d215198f1831cad85e7bbdae727093 (patch) | |
| tree | 31e0b979546cd9c314f336dffe082e9bf9ed6e5a /libmat/strippers.py | |
| parent | f5a39ac0b6ddc9154b1b1b55d255074d6dd4eecd (diff) | |
Add support for TIFF file
Diffstat (limited to 'libmat/strippers.py')
| -rw-r--r-- | libmat/strippers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmat/strippers.py b/libmat/strippers.py index d9a8706..3aca04f 100644 --- a/libmat/strippers.py +++ b/libmat/strippers.py | |||
| @@ -3,7 +3,6 @@ | |||
| 3 | 3 | ||
| 4 | import archive | 4 | import archive |
| 5 | import audio | 5 | import audio |
| 6 | import gi | ||
| 7 | import images | 6 | import images |
| 8 | import logging | 7 | import logging |
| 9 | import mat | 8 | import mat |
| @@ -67,6 +66,7 @@ try: | |||
| 67 | import exiftool | 66 | import exiftool |
| 68 | STRIPPERS['image/jpeg'] = exiftool.JpegStripper | 67 | STRIPPERS['image/jpeg'] = exiftool.JpegStripper |
| 69 | STRIPPERS['image/png'] = exiftool.PngStripper | 68 | STRIPPERS['image/png'] = exiftool.PngStripper |
| 69 | STRIPPERS['image/tiff'] = exiftool.TiffStripper | ||
| 70 | except OSError: # if exiftool is not installed, use hachoir instead | 70 | except OSError: # if exiftool is not installed, use hachoir instead |
| 71 | logging.info('Unable to find exiftool: limited images support') | 71 | logging.info('Unable to find exiftool: limited images support') |
| 72 | STRIPPERS['image/jpeg'] = images.JpegStripper | 72 | STRIPPERS['image/jpeg'] = images.JpegStripper |
