ComfyUI Node
Smart Texture Resizer
A ComfyUI node in Texture Alchemist/Texture with 5 inputs and 1 output.
Smart Texture Resizer
- image
- image
◄target_megapixels2.00►
◄multiple_of32►
◄resize_modefit_within►
◄scaling_methodlanczos►
CategoryTexture Alchemist/Texture
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| target_megapixels | FLOAT | 2.000.25–16 | Target size in megapixels (e.g., 2.0 = 2 million pixels) |
| multiple_of | COMBO | 32 | Ensure width/height are multiples of this value |
| resize_mode | COMBO | fit_within | fit_within (stay under target), fit_exact (closest match), no_upscale (never increase size) |
| scaling_method | COMBO | lanczos | Resampling algorithm for quality |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |