From 043a49152f55b8fc7b60d9bbe052ac097a80cda4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Jastrz=C4=99bski?= Date: Mon, 24 Jun 2013 19:11:04 +0200 Subject: [PATCH] Fixed K1/K2/KDX/KDXG profiles --- kcc/comic2ebook.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/kcc/comic2ebook.py b/kcc/comic2ebook.py index 1c5e42b..a7a7de7 100755 --- a/kcc/comic2ebook.py +++ b/kcc/comic2ebook.py @@ -791,13 +791,8 @@ def checkOptions(): options.panelview = True options.landscapemode = False else: - # Virtual Panel View or Panel View disabled + # Virtual Panel View options.panelview = False - # Older Kindle don't need higher resolution files due lack of Panel View. - # Kindle Fire family have very high resolution. Bigger images are not needed. - if options.profile == 'K1' or options.profile == 'K2' or options.profile == 'KDX' or options.profile == 'KDXG'\ - or options.profile == 'KF' or options.profile == 'KFHD' or options.profile == 'KFHD8': - options.quality = 0 # Disabling grayscale conversion for Kindle Fire family. if options.profile == 'KF' or options.profile == 'KFHD' or options.profile == 'KFHD8' or options.forcecolor: options.forcecolor = True @@ -808,6 +803,13 @@ def checkOptions(): if options.rotate: options.panelview = True options.landscapemode = False + # Older Kindle don't need higher resolution files due lack of Panel View. + # Kindle Fire family have very high resolution. Bigger images are not needed. + if options.profile == 'K1' or options.profile == 'K2' or options.profile == 'KDX' or options.profile == 'KDXG'\ + or options.profile == 'KF' or options.profile == 'KFHD' or options.profile == 'KFHD8': + options.quality = 0 + if options.profile == 'K1' or options.profile == 'K2' or options.profile == 'KDX' or options.profile == 'KDXG': + options.panelview = False # Disable all Kindle features if options.profile == 'OTHER': options.landscapemode = False