ComfyUI Node: Aspect Ratio Calculator
Category
image/resolution
Inputs
width INT
height INT
use_1_1 BOOLEAN
use_2_3 BOOLEAN
use_3_2 BOOLEAN
use_4_3 BOOLEAN
use_3_4 BOOLEAN
use_16_9 BOOLEAN
use_9_16 BOOLEAN
custom_ratios STRING
force_aspect_ratio_width INT
force_aspect_ratio_height INT
Outputs
INT
INT
INT
INT
Extension: optimal-crop-resolution
ComfyUI node to calculate optimal resolution to crop the image to (from a list of aspect ratios)
Authored by hodanajan
Run ComfyUI workflows in the Cloud!
No downloads or installs are required. Pay only for active GPU usage, not idle time. No complex setups and dependency issues
Learn more