From dab7faf9f994e6cafa914e515396a537ce2a61ab Mon Sep 17 00:00:00 2001 From: jvoisin Date: Thu, 22 Sep 2011 18:09:06 +0200 Subject: Png format support is now powered by exiftool --- mat/mat.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mat/mat.py b/mat/mat.py index 1700561..4e959d4 100644 --- a/mat/mat.py +++ b/mat/mat.py @@ -54,10 +54,11 @@ except ImportError: print('Unable to import python-mutagen: limited audio format support') try: + # check if exiftool is installed on the system subprocess.Popen('exiftool', stdout=open('/dev/null')) import exiftool STRIPPERS['image/jpeg'] = exiftool.JpegStripper - STRIPPERS['image/png'] = images.PngStripper + STRIPPERS['image/png'] = exiftool.PngStripper except: print('Unable to find exiftool: limited images support') STRIPPERS['image/jpeg'] = images.JpegStripper -- cgit v1.3