From 093915866e3407c975b89d7ed12862940f0c81e0 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Tue, 31 Mar 2015 00:38:40 +0200 Subject: Make exif removal explicit in Pillow --- libmat/pillow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmat') diff --git a/libmat/pillow.py b/libmat/pillow.py index 556d58a..5406b8b 100644 --- a/libmat/pillow.py +++ b/libmat/pillow.py @@ -22,6 +22,6 @@ class PillowStripper(object): logging.error('Unable to import PIL, image support degraded. Be careful.') try: - Image.open(self.filename).save(self.filename) + Image.open(self.filename).save(self.filename, exif='') except IOError: logging.error('Can not save %s.' % self.filename) -- cgit v1.3