Files
ShinChven a691bbe82f feat: add Aspect Ratio node
Added:
- New Aspect Ratio node for image dimension calculations.
- Scaling logic based on aspect ratio and longest side.
- Automatic rounding of results to multiples of 8.
- Formatted string output summarizing dimension data.

Changed:
- Updated node mappings to include the Aspect Ratio node.
2026-01-12 00:57:50 +13:00

10 lines
237 B
Python

from .rescaler_node import Rescaler
from .width_height import WidthHeight
from .aspect_ratio import AspectRatio
NODE_CLASS_MAPPINGS = {
"Rescale Node": Rescaler,
"Width & Height": WidthHeight,
"Aspect Ratio": AspectRatio,
}