Add some comments
This commit is contained in:
parent
b5a5535e3f
commit
04a0032e9f
3 changed files with 5 additions and 0 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue