From 5cbc07e65d6f36c74c76165df790bf4ee38fe6e5 Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Thu, 8 Jan 2026 18:21:45 -0800 Subject: [PATCH] increase webtoon max height (#1213) --- kindlecomicconverter/comic2panel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kindlecomicconverter/comic2panel.py b/kindlecomicconverter/comic2panel.py index f45cc49..3cb2e9f 100644 --- a/kindlecomicconverter/comic2panel.py +++ b/kindlecomicconverter/comic2panel.py @@ -62,7 +62,7 @@ def mergeDirectory(work): imagesValid.append(i[0]) # Silently drop directories that contain too many images # 131072 = GIMP_MAX_IMAGE_SIZE / 4 - if targetHeight > 131072 * 3: + if targetHeight > 131072 * 4: raise RuntimeError(f'Image too tall at {targetHeight} pixels. {targetWidth} pixels wide. Try using separate chapter folders or file fusion.') result = Image.new('RGB', (targetWidth, targetHeight)) y = 0