From 9e0f6cf0ea0a992450c12aec73b459403de5f3c2 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Tue, 21 Jun 2011 17:27:11 +0200 Subject: Pdf metadata support --- lib/images.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/images.py') diff --git a/lib/images.py b/lib/images.py index 21229c2..76696fd 100644 --- a/lib/images.py +++ b/lib/images.py @@ -11,7 +11,9 @@ class JpegStripper(parser.Generic_parser): class PngStripper(parser.Generic_parser): def _should_remove(self, field): - if field.name in ('comment'): + if field.name.startswith("text["): + return True + elif field.name is "time": return True else: return False -- cgit v1.3