diff options
| author | Frédéric Brière <[email protected]> | 2019-11-12 11:48:48 -0500 |
|---|---|---|
| committer | Frédéric Brière <[email protected]> | 2019-11-12 11:59:22 -0500 |
| commit | 9fdbf095d34db264fa9511da1f79fa7f9782b324 (patch) | |
| tree | 2d727d7547c44314744e7f00aa8928aa2cccd0b3 | |
| parent | Merge pull request #329 from C0rn3j/master (diff) | |
| download | kcc-9fdbf095d34db264fa9511da1f79fa7f9782b324.tar.gz kcc-9fdbf095d34db264fa9511da1f79fa7f9782b324.tar.bz2 kcc-9fdbf095d34db264fa9511da1f79fa7f9782b324.zip | |
Add profiles for the Kobo Clara HD and Libra H2O
Note: I omitted the "HD" and "H2O" suffixes from the labels to keep things simple, since they do not denote a variation of a preexisting model, as was the case with the Aura.
| -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 3fe2333..0f20b02 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), } |