diff options
author | MurphyTsai <yftsai.tw@gmail.com> | 2019-01-03 14:52:28 +0800 |
---|---|---|
committer | MurphyTsai <yftsai.tw@gmail.com> | 2019-01-03 14:52:28 +0800 |
commit | a7ea795df532066ee7eb9a7288ec30caa971d9be (patch) | |
tree | 2391632cde6a475ac791bd5b0f07ce4059bde0c0 /kindlecomicconverter | |
parent | Code cleanup (diff) | |
download | kcc-a7ea795df532066ee7eb9a7288ec30caa971d9be.tar.gz kcc-a7ea795df532066ee7eb9a7288ec30caa971d9be.tar.bz2 kcc-a7ea795df532066ee7eb9a7288ec30caa971d9be.zip |
support kobo forma.
Diffstat (limited to 'kindlecomicconverter')
-rw-r--r-- | kindlecomicconverter/KCC_gui.py | 3 | ||||
-rwxr-xr-x | kindlecomicconverter/comic2ebook.py | 2 | ||||
-rwxr-xr-x | kindlecomicconverter/image.py | 1 |
3 files changed, 5 insertions, 1 deletions
diff --git a/kindlecomicconverter/KCC_gui.py b/kindlecomicconverter/KCC_gui.py index d46353c..635d628 100644 --- a/kindlecomicconverter/KCC_gui.py +++ b/kindlecomicconverter/KCC_gui.py @@ -934,6 +934,8 @@ class KCCGUI(KCC_ui.Ui_mainWindow): 'DefaultUpscale': True, 'Label': 'KoAH2O'}, "Kobo Aura ONE": {'PVOptions': False, 'ForceExpert': False, 'DefaultFormat': 1, 'DefaultUpscale': True, 'Label': 'KoAO'}, + "Kobo Forma": {'PVOptions': False, 'ForceExpert': False, 'DefaultFormat': 1, + 'DefaultUpscale': True, 'Label': 'KoF'}, "Other": {'PVOptions': False, 'ForceExpert': True, 'DefaultFormat': 1, 'DefaultUpscale': False, 'Label': 'OTHER'}, "Kindle 1": {'PVOptions': False, 'ForceExpert': False, 'DefaultFormat': 0, @@ -954,6 +956,7 @@ class KCCGUI(KCC_ui.Ui_mainWindow): "Kindle", "Separator", "Kobo Aura ONE", + "Kobo Forma", "Kobo Aura H2O", "Kobo Aura HD", "Kobo Aura", diff --git a/kindlecomicconverter/comic2ebook.py b/kindlecomicconverter/comic2ebook.py index 5cabb1f..78342f9 100755 --- a/kindlecomicconverter/comic2ebook.py +++ b/kindlecomicconverter/comic2ebook.py @@ -929,7 +929,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) [Default=KV]") + " KoGHD, KoA, KoAHD, KoAH2O, KoAO, 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 9608482..09e79f1 100755 --- a/kindlecomicconverter/image.py +++ b/kindlecomicconverter/image.py @@ -94,6 +94,7 @@ class ProfileData: 'KoA': ("Kobo Aura", (758, 1024), Palette16, 1.8), 'KoAHD': ("Kobo Aura HD", (1080, 1440), Palette16, 1.8), 'KoAH2O': ("Kobo Aura H2O", (1080, 1430), Palette16, 1.8), + 'KoF': ("Kobo Forma", (1440, 1920), Palette16, 1.8), 'KoAO': ("Kobo Aura ONE", (1404, 1872), Palette16, 1.8), 'OTHER': ("Other", (0, 0), Palette16, 1.8), } |