mirror of
https://github.com/ciromattia/kcc
synced 2026-02-11 06:42:01 +00:00
Added separate resolution for Kindle DX/DXG CBZ output (close #71)
This commit is contained in:
@@ -1019,6 +1019,9 @@ def checkOptions():
|
|||||||
if options.profile == 'KFA' and (options.customwidth == 0 or options.customheight == 0):
|
if options.profile == 'KFA' and (options.customwidth == 0 or options.customheight == 0):
|
||||||
print "ERROR: Kindle for Android profile require --customwidth and --customheight options!"
|
print "ERROR: Kindle for Android profile require --customwidth and --customheight options!"
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
# CBZ files on Kindle DX/DXG support higher resolution
|
||||||
|
if options.profile == 'KDX' and options.cbzoutput:
|
||||||
|
options.customheight = 1200
|
||||||
# Override profile data
|
# Override profile data
|
||||||
if options.customwidth != 0 or options.customheight != 0:
|
if options.customwidth != 0 or options.customheight != 0:
|
||||||
X = image.ProfileData.Profiles[options.profile][1][0]
|
X = image.ProfileData.Profiles[options.profile][1][0]
|
||||||
|
|||||||
Reference in New Issue
Block a user