ComfyUI Node: SVG Visual Normalize & Margin

Authored by coulterj

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

svg

Inputs

svg_string STRING
margin_percent FLOAT
visual_bbox_padding_percent FLOAT
center_offset_x_percent FLOAT
center_offset_y_percent FLOAT
output_width INT
output_height INT
render_scale_for_bbox FLOAT

Outputs

STRING

Extension: ComfyUI SVG Visual Normalize & Margin Node

This ComfyUI custom node processes SVG (Scalable Vector Graphics) images to ensure the artwork consistently fills its canvas, is visually centered, and optionally has a margin applied. It's designed to provide more accurate results for complex vector graphics, such as those generated by vector tracing tools, where simple geometric bounding boxes may not align with perceived visual extents.

Authored by coulterj

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