ComfyUI Node: Aspect Ratio to Size (Trim Margin)

Authored by kinorax

Created

Updated

1 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

Info-Prompt-Toolkit/ImageInfo

Inputs

width_ratio INT
height_ratio INT
min_unit COMBO
margin_top INT
margin_right INT
margin_bottom INT
margin_left INT
width INT
height INT
actual_width INT
actual_height INT
actual_ratio STRING

Outputs

IPT-Size

INT

INT

IPT-Margin

Extension: ComfyUI-Info-Prompt-Toolkit

Civitai-compatible metadata saving, same-name .txt captions, XY Plot, Tiled Sampling, SAM3, Detailer, PixAI Tagger, wildcards, and Dynamic Prompts to simplify ComfyUI wiring, improve reusability, and carry trial results into the next production pass.

Authored by kinorax

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