mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-04-23 17:02:38 +08:00
Merge 5057245264 into 3086026401
This commit is contained in:
commit
4126f605b6
@ -709,7 +709,7 @@ class SplitImageToTileList(IO.ComfyNode):
|
|||||||
def get_grid_coords(width, height, tile_width, tile_height, overlap):
|
def get_grid_coords(width, height, tile_width, tile_height, overlap):
|
||||||
coords = []
|
coords = []
|
||||||
stride_x = round(max(tile_width * 0.25, tile_width - overlap))
|
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
|
y = 0
|
||||||
while y < height:
|
while y < height:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user