From 2e25e313a64bf9e492f22e4dddb05ec768be7c02 Mon Sep 17 00:00:00 2001 From: darodi <4682830+darodi@users.noreply.github.com> Date: Sat, 13 May 2023 17:47:52 +0200 Subject: [PATCH] limit kindle scribe image size to (1440, 1920) when using kindlegen --- kindlecomicconverter/comic2ebook.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kindlecomicconverter/comic2ebook.py b/kindlecomicconverter/comic2ebook.py index 1a4f47d5..85f933bb 100755 --- a/kindlecomicconverter/comic2ebook.py +++ b/kindlecomicconverter/comic2ebook.py @@ -1092,8 +1092,8 @@ def checkOptions(options): image.ProfileData.Profiles["Custom"] = newProfile options.profile = "Custom" options.profileData = image.ProfileData.Profiles[options.profile] - # kindle scribe conversion to mobi is limited in resolution by kindlegen - if options.profile == 'KS' and options.format == 'MOBI': + # kindle scribe conversion to mobi is limited in resolution by kindlegen, same with send to kindle and epub + if options.profile == 'KS' and (options.format == 'MOBI' or options.format == 'EPUB'): options.profileData = list(options.profileData) options.profileData[1] = (1440, 1920) return options