partial support for Kindle Scribe 2025 models (#1203)

* partial Kindle Scribe 2025 support

* make variables better

* remove quad
This commit is contained in:
Alex Xu
2025-12-27 17:18:05 -08:00
committed by GitHub
parent 9b63b7af2c
commit c58387f4f4
3 changed files with 19 additions and 8 deletions
+2 -2
View File
@@ -1237,7 +1237,7 @@ def detectSuboptimalProcessing(tmppath, orgpath):
GUI.addMessage.emit('Source files are probably created by KCC. The second conversion will decrease quality.'
, 'warning', False)
GUI.addMessage.emit('', '', False)
if imageSmaller > imageNumber * 0.25 and not options.upscale and not options.stretch and options.profile != 'KS':
if imageSmaller > imageNumber * 0.25 and not options.upscale and not options.stretch and not options.profile.startswith('KS'):
print("WARNING: More than 25% of images are smaller than target device resolution. "
"Consider enabling stretching or upscaling to improve readability.")
if GUI:
@@ -1556,7 +1556,7 @@ def makeBook(source, qtgui=None, job_progress=''):
else:
checkTools(source)
options.kindle_azw3 = options.iskindle and ('MOBI' in options.format or 'EPUB' in options.format)
options.kindle_scribe_azw3 = options.profile == 'KS' and ('MOBI' in options.format or 'EPUB' in options.format)
options.kindle_scribe_azw3 = options.profile.startswith('KS') and options.kindle_azw3
checkPre(source)
print(f"{job_progress}Preparing source images...")
path = getWorkFolder(source)