Nodes/ComfyUI-PixelForge/PixelForge · Resize Image
ComfyUI Node

PixelForge · Resize Image

Resizes images to selected resolution with advanced options. Combines PixelForge resolution selection with KJNodes Resize v2 features.

By room3dev·Created 7 months ago·Updated 7 months ago· 0
PixelForge · Resize Image
  • image
  • mask
  • image
  • width
  • height
  • mask
aspect_ratio1:1
orientationsquare
divisible_by16
max_megapixels1 MP
resolution1024×1024
upscale_methodlanczos
keep_proportioncrop
pad_color0, 0, 0
crop_positioncenter
CategoryPixelForge

Inputs (11)

NameTypeDefaultDescription
imageIMAGE
aspect_ratioCOMBO1:15 options: 1:1, 3:2, 4:3, 16:9, 16:10
orientationCOMBOsquare3 options: landscape, portrait, square
divisible_byCOMBO163 options: 16, 32, 64
max_megapixelsCOMBO1 MP7 options: 1 MP, 2 MP, 4 MP, 6 MP, 8 MP, 12 MP, +1
resolutionCOMBO1024×1024692 options: 16×16, 32×32, 32×48, 48×32, 48×48, 48×64, +686
upscale_methodCOMBOlanczos5 options: nearest-exact, bilinear, area, bicubic, lanczos
keep_proportionCOMBOcrop5 options: stretch, resize, pad, pad_edge, crop
pad_colorSTRING0, 0, 0RGB color for padding (e.g., '0, 0, 0' for black)
crop_positionCOMBOcenter5 options: center, top, bottom, left, right
maskoptMASK

Outputs (4)

NameTypeDescription
imageIMAGE
widthINT
heightINT
maskMASK