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)