From 7d8e7bcd0981dc8be5d2abbda9d4b44b5ff381df Mon Sep 17 00:00:00 2001 From: Hogesyx Date: Wed, 16 Apr 2025 14:38:37 +0800 Subject: [PATCH] Update image_nodes.py removing "and get_image_size is None" to allow cropping even when using get_image_size. --- nodes/image_nodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes/image_nodes.py b/nodes/image_nodes.py index 7b987c7..a37c60d 100644 --- a/nodes/image_nodes.py +++ b/nodes/image_nodes.py @@ -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)