ComfyUI Node
Smart Resize Images
A ComfyUI node in Gadget/image with 7 inputs and 3 outputs.
Smart Resize Images
- images
- images
- widths
- heights
◄target_pixels1048576►
◄divisible_by64►
◄distortion_threshold0.005►
◄crop_positionauto►
◄upscale_tomatch_divisible_by►
◄upscale_methodbicubic►
CategoryGadget/image
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | — | |
| target_pixels | INT | 104857664–16777216 | — |
| divisible_by | INT | 648–128 | — |
| distortion_threshold | FLOAT | 0.0050–0.1 | — |
| crop_position | COMBO | auto | 6 options: auto, center, left, right, top, bottom |
| upscale_to | COMBO | match_divisible_by | 2 options: target_pixels, match_divisible_by |
| upscale_method | COMBO | bicubic | 3 options: bicubic, lanczos, area |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| images | IMAGE | — |
| widths | INT | — |
| heights | INT | — |