ComfyUI Node
H3 Aligned Image Resize
A ComfyUI node in image/preprocessing with 6 inputs and 4 outputs.
H3 Aligned Image Resize
- image
- image
- width
- height
- aspect_ratio
◄short_edge512►
◄alignment32►
◄resize_modecrop►
◄anchorcenter►
◄resamplinglanczos►
Categoryimage/preprocessing
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| short_edge | INT | 51232–8192 | — |
| alignment | INT | 321–1024 | — |
| resize_mode | COMBO | crop | 3 options: crop, pad, stretch |
| anchor | COMBO | center | 9 options: center, top, bottom, left, right, top_left, +3 |
| resampling | COMBO | lanczos | 4 options: lanczos, bicubic, bilinear, nearest |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| width | INT | — |
| height | INT | — |
| aspect_ratio | FLOAT | — |