Skip to content

Commit

Permalink
limit kindle scribe image size to (1440, 1920) when using kindlegen (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
darodi authored May 13, 2023
1 parent 611ee31 commit 21a167b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kindlecomicconverter/comic2ebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 21a167b

Please sign in to comment.