Nodes/ComfyUI-FairLab/Outpainting Pad
ComfyUI Node

Outpainting Pad

Calculate padding values to place an image on a larger target canvas.

By yanhuifair·Created 2 years ago·Updated 2 months ago· 2
Outpainting Pad
  • image
  • left
  • top
  • right
  • bottom
target_width1024
target_height1024
aligncenter
CategoryFair/image

Inputs (4)

NameTypeDefaultDescription
imageIMAGE
target_widthINT102464–8192
target_heightINT102464–8192
alignCOMBOcenter9 options: left, left-top, top, top-right, right, right-bottom, +3

Outputs (4)

NameTypeDescription
leftINT
topINT
rightINT
bottomINT