Add some white lines to make the code more compliant
This commit is contained in:
parent
9fa76c4c20
commit
0239ab3b6a
9 changed files with 21 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue