Nodes/LF Nodes/Resize image to dimension
ComfyUI Node

Resize image to dimension

A ComfyUI node in ✨ LF Nodes/Image with 7 inputs and 3 outputs.

By lucafoscili·Created 2 years ago·Updated about a year ago· 50
Resize image to dimension
  • image
  • ui_widget
  • image
  • image_list
  • count
height1216
width832
resize_methodbicubic
resize_modecrop
pad_color000000
Category✨ LF Nodes/Image

Inputs (7)

NameTypeDefaultDescription
imageIMAGEInput image tensor or a list of image tensors.
heightINT1216The target height for the output image.
widthINT832The target width for the output image.
resize_methodCOMBObicubicMethod to resize the image.
resize_modeCOMBOcropChoose whether to crop or pad when resizing.
pad_colorSTRING000000Color to use for padding if 'pad' mode is selected (hexadecimal).
ui_widgetoptKUL_TREE[object Object]

Outputs (3)

NameTypeDescription
imageIMAGE
image_listIMAGE
countINT