From 57d7729d05ba21985be298d572a8e25460f1197f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Jastrz=C4=99bski?= Date: Wed, 20 Mar 2013 21:12:30 +0100 Subject: [PATCH] Decreasing quality File size/quality ratio is too high. It is not worth it. Sadly huffman table optimization build-in PIL is just simply broken. --- kcc/image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kcc/image.py b/kcc/image.py index 51502f3..3876650 100755 --- a/kcc/image.py +++ b/kcc/image.py @@ -121,7 +121,7 @@ class ComicPage: if forcepng: self.image.save(os.path.join(targetdir, os.path.splitext(filename)[0] + ".png"), "PNG") else: - self.image.save(os.path.join(targetdir, os.path.splitext(filename)[0] + ".jpg"), "JPEG", quality=95) + self.image.save(os.path.join(targetdir, os.path.splitext(filename)[0] + ".jpg"), "JPEG") except IOError as e: raise RuntimeError('Cannot write image in directory %s: %s' % (targetdir, e))