mirror of
https://github.com/ciromattia/kcc
synced 2025-12-13 01:36:27 +00:00
Make webtoon tall error more informative (#1151)
* Make webtoon tall error more informative * fix mistake
This commit is contained in:
@@ -63,7 +63,7 @@ def mergeDirectory(work):
|
||||
# Silently drop directories that contain too many images
|
||||
# 131072 = GIMP_MAX_IMAGE_SIZE / 4
|
||||
if targetHeight > 131072 * 3:
|
||||
raise RuntimeError(f'Image too tall at {targetHeight} pixels.')
|
||||
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
|
||||
for i in imagesValid:
|
||||
|
||||
Reference in New Issue
Block a user