Nodes/ComfyUI-ArchiGraph/Image Resize To πŸ¦β€πŸ”₯
ComfyUI Node

Image Resize To πŸ¦β€πŸ”₯

Resizes an image by specify one edge size. Proportion is kept by default.

By vincentfsΒ·Created 2 years agoΒ·Updated 7 months agoΒ· 3
Image Resize To πŸ¦β€πŸ”₯
  • image
  • IMAGE
  • prev_width
  • prev_height
  • log
β—„target_size720Pβ–Ί
β—„bbox_edge11024β–Ί
β—„bbox_edge21024β–Ί
β—„upscale_methodβ–Ύβ–Ί
β—„onlyEnlargetrueβ–Ί
CategoryπŸ¦β€πŸ”₯ ArchiGraph/πŸ“· PhotoEdit

Inputs (6)

NameTypeDefaultDescription
imageIMAGEβ€”
target_sizeCOMBO720PPreset target sizes. Select 'custom' to specify edge size manually.
bbox_edge1INT102416–8192Only valid for custom target type. Edge size for the boundingbox. Orientation will be calculated automatically.
bbox_edge2INT102416–8192Only valid for custom target type. Edge size for the boundingbox. Orientation will be calculated automatically.
upscale_methodCOMBO5 options: lanczos, nearest-exact, bilinear, area, bicubic
onlyEnlargeBOOLEANtrueIf true, only enlarge images. Large images will be kept at original size.

Outputs (4)

NameTypeDescription
IMAGEIMAGEβ€”
prev_widthINTβ€”
prev_heightINTβ€”
logSTRINGβ€”