ComfyUI Node
PixelForge · Resize Image
Resizes images to selected resolution with advanced options. Combines PixelForge resolution selection with KJNodes Resize v2 features.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| aspect_ratio | COMBO | 1:1 | 5 options: 1:1, 3:2, 4:3, 16:9, 16:10 |
| orientation | COMBO | square | 3 options: landscape, portrait, square |
| divisible_by | COMBO | 16 | 3 options: 16, 32, 64 |
| max_megapixels | COMBO | 1 MP | 7 options: 1 MP, 2 MP, 4 MP, 6 MP, 8 MP, 12 MP, +1 |
| resolution | COMBO | 1024×1024 | 692 options: 16×16, 32×32, 32×48, 48×32, 48×48, 48×64, +686 |
| upscale_method | COMBO | lanczos | 5 options: nearest-exact, bilinear, area, bicubic, lanczos |
| keep_proportion | COMBO | crop | 5 options: stretch, resize, pad, pad_edge, crop |
| pad_color | STRING | 0, 0, 0 | RGB color for padding (e.g., '0, 0, 0' for black) |
| crop_position | COMBO | center | 5 options: center, top, bottom, left, right |
| maskopt | MASK | — |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| width | INT | — |
| height | INT | — |
| mask | MASK | — |