ComfyUI Node: Round Image (Pad/Crop) (Advanced)

Authored by cdb-boop

Created

Updated

4 stars

Category

image

Inputs

images IMAGE
round_type
  • Pad
  • Crop
nearest_x INT
nearest_y INT
split_x FLOAT
split_y FLOAT
pad_value FLOAT
nearest_x_override INT
nearest_y_override INT
split_x_override FLOAT
split_y_override FLOAT
pad_value_override FLOAT

Outputs

IMAGE

INT

INT

INT

INT

Extension: comfyui-image-round

A simple node to round an input image up (pad) or down (crop) to the nearest integer multiple. Padding offset from left/bottom and the padding value are adjustable.

Authored by cdb-boop

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