summaryrefslogtreecommitdiff
path: root/libmat/pillow.py
diff options
context:
space:
mode:
authorjvoisin2015-03-31 00:38:40 +0200
committerjvoisin2015-03-31 00:38:40 +0200
commit093915866e3407c975b89d7ed12862940f0c81e0 (patch)
treeda9d736f39820acd1922a85b885b1b278bb585d3 /libmat/pillow.py
parent46c77ed2f40998c32587479b4754009cbc5efa67 (diff)
Make exif removal explicit in Pillow
Diffstat (limited to '')
-rw-r--r--libmat/pillow.py2
1 files changed, 1 insertions, 1 deletions
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):
22 logging.error('Unable to import PIL, image support degraded. Be careful.') 22 logging.error('Unable to import PIL, image support degraded. Be careful.')
23 23
24 try: 24 try:
25 Image.open(self.filename).save(self.filename) 25 Image.open(self.filename).save(self.filename, exif='')
26 except IOError: 26 except IOError:
27 logging.error('Can not save %s.' % self.filename) 27 logging.error('Can not save %s.' % self.filename)