ComfyUI Node: MatchImageToAspectRatio

Authored by sugarkwork

Created

Updated

3 stars

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

Category

image

Inputs

image IMAGE
ratio_16_9 BOOLEAN
ratio_9_16 BOOLEAN
ratio_4_3 BOOLEAN
ratio_3_4 BOOLEAN
ratio_3_2 BOOLEAN
ratio_2_3 BOOLEAN
ratio_1_1 BOOLEAN
aspect_ratio STRING

Outputs

STRING

INT

INT

Extension: ComfyUI_AspectRatioToSize

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.

Authored by sugarkwork

Looking for a different node?

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

Learn more