diff options
author | Einlar <franceco.manzali@studenti.unipd.it> | 2021-11-13 13:50:56 +0100 |
---|---|---|
committer | Einlar <franceco.manzali@studenti.unipd.it> | 2021-11-13 13:50:56 +0100 |
commit | c91be77588917b5f262a7d99eed1046b8c0f1dd3 (patch) | |
tree | da0f68f1f0da2287a42f2b1f9c5b9ad9e39d836b | |
parent | Merge branch 'add_profiles_kobo' (diff) | |
download | kcc-c91be77588917b5f262a7d99eed1046b8c0f1dd3.tar.gz kcc-c91be77588917b5f262a7d99eed1046b8c0f1dd3.tar.bz2 kcc-c91be77588917b5f262a7d99eed1046b8c0f1dd3.zip |
Add profile for Kindle PW5/Signature
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | kindlecomicconverter/KCC_gui.py | 4 | ||||
-rwxr-xr-x | kindlecomicconverter/comic2ebook.py | 2 | ||||
-rwxr-xr-x | kindlecomicconverter/image.py | 1 |
4 files changed, 7 insertions, 2 deletions
diff --git a/README.md b/README.md index f28f196..0b734df 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ Options: MAIN: -p PROFILE, --profile=PROFILE Device profile (Available options: K1, K2, K34, K578, - KDX, KPW, KV, KO, KoMT, KoG, KoGHD, KoA, KoAHD, KoAH2O, + KDX, KPW, KPW5, KV, KO, KoMT, KoG, KoGHD, KoA, KoAHD, KoAH2O, 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 diff --git a/kindlecomicconverter/KCC_gui.py b/kindlecomicconverter/KCC_gui.py index d865ff1..56b00c5 100644 --- a/kindlecomicconverter/KCC_gui.py +++ b/kindlecomicconverter/KCC_gui.py @@ -916,6 +916,9 @@ class KCCGUI(KCC_ui.Ui_mainWindow): 'DefaultUpscale': True, 'Label': 'KV'}, "Kindle Voyage": {'PVOptions': True, 'ForceExpert': False, 'DefaultFormat': 0, 'DefaultUpscale': True, 'Label': 'KV'}, + "Kindle PW 5": { + 'PVOptions': True, 'ForceExpert': False, 'DefaultFormat': 0, 'DefaultUpscale': True, 'Label': 'KPW5', + }, "Kindle PW 3/4": {'PVOptions': True, 'ForceExpert': False, 'DefaultFormat': 0, 'DefaultUpscale': True, 'Label': 'KV'}, "Kindle PW 1/2": {'PVOptions': True, 'ForceExpert': False, 'DefaultFormat': 0, @@ -959,6 +962,7 @@ class KCCGUI(KCC_ui.Ui_mainWindow): "Kindle Oasis 2/3", "Kindle Oasis", "Kindle Voyage", + "Kindle PW 5", "Kindle PW 3/4", "Kindle PW 1/2", "Kindle", diff --git a/kindlecomicconverter/comic2ebook.py b/kindlecomicconverter/comic2ebook.py index 77be0b9..42dc607 100755 --- a/kindlecomicconverter/comic2ebook.py +++ b/kindlecomicconverter/comic2ebook.py @@ -909,7 +909,7 @@ def makeParser(): otherOptions = OptionGroup(psr, "OTHER") 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," + help="Device profile (Available options: K1, K2, K34, K578, KDX, KPW, KPW5, KV, KO, KoMT, KoG," " 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)") diff --git a/kindlecomicconverter/image.py b/kindlecomicconverter/image.py index 2717a15..2bcee16 100755 --- a/kindlecomicconverter/image.py +++ b/kindlecomicconverter/image.py @@ -83,6 +83,7 @@ class ProfileData: 'KDX': ("Kindle DX/DXG", (824, 1000), Palette16, 1.8), 'KPW': ("Kindle Paperwhite 1/2", (758, 1024), Palette16, 1.8), 'KV': ("Kindle Paperwhite 3/4/Voyage/Oasis", (1072, 1448), Palette16, 1.8), + 'KPW5': ("Kindle Paperwhite 5/Signature Edition", (1236, 1648), Palette16, 1.8), 'KO': ("Kindle Oasis 2/3", (1264, 1680), Palette16, 1.8), 'KoMT': ("Kobo Mini/Touch", (600, 800), Palette16, 1.8), 'KoG': ("Kobo Glo", (768, 1024), Palette16, 1.8), |