diff options
author | Einlar <franceco.manzali@studenti.unipd.it> | 2021-11-13 13:32:06 +0100 |
---|---|---|
committer | Einlar <franceco.manzali@studenti.unipd.it> | 2021-11-13 13:32:06 +0100 |
commit | 65a42c10630b9e012b4da0fdd97062066f1745fe (patch) | |
tree | 64a993eac69acde87daaf81f54bfdf6e16740e26 | |
parent | Fixed the skipped/missed images and/or panels (diff) | |
parent | Add profiles for the Kobo Clara HD and Libra H2O (diff) | |
download | kcc-65a42c10630b9e012b4da0fdd97062066f1745fe.tar.gz kcc-65a42c10630b9e012b4da0fdd97062066f1745fe.tar.bz2 kcc-65a42c10630b9e012b4da0fdd97062066f1745fe.zip |
Merge branch 'add_profiles_kobo'
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | kindlecomicconverter/KCC_gui.py | 6 | ||||
-rwxr-xr-x | kindlecomicconverter/comic2ebook.py | 2 | ||||
-rwxr-xr-x | kindlecomicconverter/image.py | 2 |
4 files changed, 10 insertions, 2 deletions
diff --git a/README.md b/README.md index 9a79c3d..f28f196 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ Options: -p PROFILE, --profile=PROFILE Device profile (Available options: K1, K2, K34, K578, KDX, KPW, KV, KO, KoMT, KoG, KoGHD, KoA, KoAHD, KoAH2O, - KoAO, KoF) [Default=KV] + KoAO, KoC, KoL, KoF) [Default=KV] -m, --manga-style Manga style (right-to-left reading and splitting) -q, --hq Try to increase the quality of magnification -2, --two-panel Display two not four panels in Panel View mode diff --git a/kindlecomicconverter/KCC_gui.py b/kindlecomicconverter/KCC_gui.py index 50e91dd..d865ff1 100644 --- a/kindlecomicconverter/KCC_gui.py +++ b/kindlecomicconverter/KCC_gui.py @@ -938,6 +938,10 @@ class KCCGUI(KCC_ui.Ui_mainWindow): 'DefaultUpscale': True, 'Label': 'KoAH2O'}, "Kobo Aura ONE": {'PVOptions': False, 'ForceExpert': False, 'DefaultFormat': 1, 'DefaultUpscale': True, 'Label': 'KoAO'}, + "Kobo Clara HD": {'PVOptions': False, 'ForceExpert': False, 'DefaultFormat': 1, + 'DefaultUpscale': True, 'Label': 'KoC'}, + "Kobo Libra H2O": {'PVOptions': False, 'ForceExpert': False, 'DefaultFormat': 1, + 'DefaultUpscale': True, 'Label': 'KoL'}, "Kobo Forma": {'PVOptions': False, 'ForceExpert': False, 'DefaultFormat': 1, 'DefaultUpscale': True, 'Label': 'KoF'}, "Other": {'PVOptions': False, 'ForceExpert': True, 'DefaultFormat': 1, @@ -960,6 +964,8 @@ class KCCGUI(KCC_ui.Ui_mainWindow): "Kindle", "Separator", "Kobo Forma", + "Kobo Libra H2O", + "Kobo Clara HD", "Kobo Aura ONE", "Kobo Aura H2O", "Kobo Aura HD", diff --git a/kindlecomicconverter/comic2ebook.py b/kindlecomicconverter/comic2ebook.py index 237d0a2..77be0b9 100755 --- a/kindlecomicconverter/comic2ebook.py +++ b/kindlecomicconverter/comic2ebook.py @@ -910,7 +910,7 @@ def makeParser(): mainOptions.add_option("-p", "--profile", action="store", dest="profile", default="KV", help="Device profile (Available options: K1, K2, K34, K578, KDX, KPW, KV, KO, KoMT, KoG," - " KoGHD, KoA, KoAHD, KoAH2O, KoAO, KoF) [Default=KV]") + " KoGHD, KoA, KoAHD, KoAH2O, KoAO, KoC, KoL, KoF) [Default=KV]") mainOptions.add_option("-m", "--manga-style", action="store_true", dest="righttoleft", default=False, help="Manga style (right-to-left reading and splitting)") mainOptions.add_option("-q", "--hq", action="store_true", dest="hq", default=False, diff --git a/kindlecomicconverter/image.py b/kindlecomicconverter/image.py index 35fcfc8..2717a15 100755 --- a/kindlecomicconverter/image.py +++ b/kindlecomicconverter/image.py @@ -91,6 +91,8 @@ class ProfileData: 'KoAHD': ("Kobo Aura HD", (1080, 1440), Palette16, 1.8), 'KoAH2O': ("Kobo Aura H2O", (1080, 1430), Palette16, 1.8), 'KoAO': ("Kobo Aura ONE", (1404, 1872), Palette16, 1.8), + 'KoC': ("Kobo Clara HD", (1072, 1448), Palette16, 1.8), + 'KoL': ("Kobo Libra H2O", (1264, 1680), Palette16, 1.8), 'KoF': ("Kobo Forma", (1440, 1920), Palette16, 1.8), 'OTHER': ("Other", (0, 0), Palette16, 1.8), } |