From 04a0032e9fef6453b293cbba1464125662eba776 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Mon, 2 Apr 2018 23:40:08 +0200 Subject: Add some comments --- src/images.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/images.py') diff --git a/src/images.py b/src/images.py index 560886a..93f3ec2 100644 --- a/src/images.py +++ b/src/images.py @@ -32,6 +32,9 @@ class PNGParser(abstract.AbstractParser): return True class GdkPixbufAbstractParser(abstract.AbstractParser): + """ GdkPixbuf can handle a lot of surfaces, so we're rending images on it, + this has the side-effect of removing metadata completely. + """ def get_meta(self): out = subprocess.check_output(['exiftool', '-json', self.filename]) meta = json.loads(out.decode('utf-8'))[0] -- cgit v1.3