1
0
Fork 0
mirror of synced 2025-07-04 20:37:34 +02:00

Add some white lines to make the code more compliant

This commit is contained in:
jvoisin 2018-04-04 23:21:48 +02:00
parent 9fa76c4c20
commit 0239ab3b6a
9 changed files with 21 additions and 0 deletions

View file

@ -10,6 +10,7 @@ from gi.repository import GdkPixbuf
from . import abstract
class PNGParser(abstract.AbstractParser):
mimetypes = {'image/png', }
meta_whitelist = {'SourceFile', 'ExifToolVersion', 'FileName',
@ -31,6 +32,7 @@ class PNGParser(abstract.AbstractParser):
surface.write_to_png(self.output_filename)
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.