mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2026-01-03 15:30:57 +08:00
Update image_nodes.py
removing "and get_image_size is None" to allow cropping even when using get_image_size.
This commit is contained in:
parent
8ecf5cd05e
commit
7d8e7bcd09
@ -2288,7 +2288,7 @@ highest dimension.
|
||||
if height == 0:
|
||||
height = H
|
||||
|
||||
if divisible_by > 1 and get_image_size is None:
|
||||
if divisible_by > 1:
|
||||
width = width - (width % divisible_by)
|
||||
height = height - (height % divisible_by)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user