From 0239ab3b6a6ae38dbf5ba439f91f0cee498711a9 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 4 Apr 2018 23:21:48 +0200 Subject: Add some white lines to make the code more compliant --- src/images.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/images.py') diff --git a/src/images.py b/src/images.py index afc0658..2c1fd2e 100644 --- a/src/images.py +++ b/src/images.py @@ -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. -- cgit v1.3