ComfyUI Extension
comfyui-simple-padding
Pad a bounding box by a given number with a max x,y
alexlawford/comfyui-simple-padding
Nodes1
On cloudLocal install
CategoryCustomNodesTemplate
Stars0
Updated2 years ago
Nodes (1)
Readme
Simple Padding
Simple padding takes as inputs the following:
x, integer: the x coordinate of the top-left point of your box
y, integer: the y coordinate of the top-left point of your box
width, integer: the height of the (unpadded) box
height, integer: the width of the (unpadded) box
padding, the number to pad by
It returns:
x, y the top-left coordinates of the padded box and width, height the dimensions of the padded box.