From 557bd2bbbf76140ec030e6cd0efd53cea6426b45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Jastrz=C4=99bski?= Date: Tue, 19 Nov 2013 08:46:13 +0100 Subject: [PATCH] Added separate resolution for Kindle DX/DXG CBZ output (close #71) --- kcc/comic2ebook.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kcc/comic2ebook.py b/kcc/comic2ebook.py index 09e5ad9..3affd83 100755 --- a/kcc/comic2ebook.py +++ b/kcc/comic2ebook.py @@ -1019,6 +1019,9 @@ def checkOptions(): if options.profile == 'KFA' and (options.customwidth == 0 or options.customheight == 0): print "ERROR: Kindle for Android profile require --customwidth and --customheight options!" sys.exit(1) + # CBZ files on Kindle DX/DXG support higher resolution + if options.profile == 'KDX' and options.cbzoutput: + options.customheight = 1200 # Override profile data if options.customwidth != 0 or options.customheight != 0: X = image.ProfileData.Profiles[options.profile][1][0]