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.
10 lines
237 B
Python
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,
|
|
}
|