ComfyUI Node
RC Image Scale
Scale image with multiple resizing methods.
RC Image Scale
- image
- IMAGE
◄scale_methodpercentage►
◄scale_factor1.0►
◄width512►
◄height512►
◄resamplingLANCZOS►
◄keep_aspect_ratiotrue►
CategoryRC/Utilities
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| scale_method | COMBO | percentage | Scale method: - percentage: Scale by percentage - dimensions: Exact dimensions - fit_width: Fit to width (keep ratio) - fit_height: Fit to height (keep ratio) - fit_longest: Fit to longest side (keep ratio) - fit_shortest: Fit to shortest side (keep ratio) |
| scale_factor | FLOAT | 1.00.1–10 | Scale factor (for percentage mode) |
| width | INT | 51264–8192 | Target width (for dimensions/fit modes) |
| height | INT | 51264–8192 | Target height (for dimensions/fit modes) |
| resampling | COMBO | LANCZOS | Resampling algorithm: - LANCZOS: Highest quality (slow) - BICUBIC: High quality - BILINEAR: Medium quality - NEAREST: Fastest (low quality) |
| keep_aspect_ratio | BOOLEAN | true | Keep aspect ratio (for dimensions mode) |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |