From 0afb9e8c0b0e97f7a1dbdc5f7f7a8ca9c1fb8225 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Jastrz=C4=99bski?= Date: Thu, 31 Jul 2014 18:00:44 +0200 Subject: [PATCH] Kindle: Fixed high quality mode (close #106) --- kcc/comic2ebook.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/kcc/comic2ebook.py b/kcc/comic2ebook.py index 73b798b..77a4c85 100755 --- a/kcc/comic2ebook.py +++ b/kcc/comic2ebook.py @@ -214,10 +214,6 @@ def buildNCX(dstdir, title, chapters, chapterNames): def buildOPF(dstdir, title, filelist, cover=None): opffile = os.path.join(dstdir, 'OEBPS', 'content.opf') profilelabel, deviceres, palette, gamma, panelviewsize = options.profileData - if options.quality == 1: - imgres = str(panelviewsize[0]) + "x" + str(panelviewsize[1]) - else: - imgres = str(deviceres[0]) + "x" + str(deviceres[1]) if options.righttoleft: writingmode = "horizontal-rl" else: @@ -244,7 +240,8 @@ def buildOPF(dstdir, title, filelist, cover=None): "\n" "\n", "\n", - "\n", + "\n", "\n", "\n", "\n",