mirror of
https://github.com/ciromattia/kcc
synced 2025-12-12 17:26:23 +00:00
fix webtoon too tall (#1146)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user