diff --git a/kindlecomicconverter/comic2panel.py b/kindlecomicconverter/comic2panel.py index e0d18b1..b9d38c6 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 * 2: + if targetHeight > 131072 * 3: raise RuntimeError(f'Image too tall at {targetHeight} pixels.') result = Image.new('RGB', (targetWidth, targetHeight)) y = 0