Merge branch 'master' into python3
This commit is contained in:
commit
9f68e009f1
1 file changed
+3
@@ -1017,6 +1017,9 @@ def checkOptions():
|
||||
if options.profile == 'KFA' and (options.customwidth == 0 or options.customheight == 0):
|
||||
print("ERROR: Kindle for Android profile require --customwidth and --customheight options!")
|
||||
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
|
||||
if options.customwidth != 0 or options.customheight != 0:
|
||||
X = image.ProfileData.Profiles[options.profile][1][0]
|
||||
|
||||
Reference in new issue
Block a user