From 8d752113007178d6fbdf09ef01473c5233802cf2 Mon Sep 17 00:00:00 2001 From: Alvin Tang Date: Tue, 5 May 2026 20:29:11 +0800 Subject: [PATCH] fix: SplitImageToTileList and ImageMergeTileList to use tile_height for vertical stride minimum (#12882) --- comfy_extras/nodes_images.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comfy_extras/nodes_images.py b/comfy_extras/nodes_images.py index 68916ab75..1ac740d1d 100644 --- a/comfy_extras/nodes_images.py +++ b/comfy_extras/nodes_images.py @@ -716,7 +716,7 @@ class SplitImageToTileList(IO.ComfyNode): def get_grid_coords(width, height, tile_width, tile_height, overlap): coords = [] stride_x = round(max(tile_width * 0.25, tile_width - overlap)) - stride_y = round(max(tile_width * 0.25, tile_height - overlap)) + stride_y = round(max(tile_height * 0.25, tile_height - overlap)) y = 0 while y < height: