diff --git a/nodes.py b/nodes.py index 3623b48..40fe895 100644 --- a/nodes.py +++ b/nodes.py @@ -432,6 +432,8 @@ NODE_CLASS_MAPPINGS = { "CalculateImagePadding": CalculateImagePadding, "MatchImageToAspectRatio": MatchImageToAspectRatio, "CalcFactorWidthHeight": CalcFactorWidthHeight, + "AspectRatio": AspectRatio, + } NODE_DISPLAY_NAME_MAPPINGS = { @@ -439,7 +441,9 @@ NODE_DISPLAY_NAME_MAPPINGS = { "SizeToWidthHeight": "SizeToWidthHeight", "CalculateImagePadding": "CalculateImagePadding", "MatchImageToAspectRatio": "MatchImageToAspectRatio", - "CalcFactorWidthHeight": "CalcFactorWidthHeight" + "CalcFactorWidthHeight": "CalcFactorWidthHeight", + "AspectRatio": "AspectRatio", + } diff --git a/pyproject.toml b/pyproject.toml index 9a7d5e9..61f7822 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "ComfyUI_AspectRatioToSize" description = "A ComfyUI custom node that calculates width and height while maintaining aspect ratio, making it easier to determine image resolutions with specified aspect ratios and longer side values." -version = "1.0.3" +version = "1.0.4" license = { file = "LICENSE" } dependencies = []