ComfyUI Node
Pixel Art Resize
A ComfyUI node in API Toolkit/Utils/Image with 6 inputs and 3 outputs.
Pixel Art Resize
- image
- image
- small_image
- palette_json
◄downscale_factor8►
◄upscale_factor8►
◄palette_modeshared_batch►
◄max_palette_size32►
◄ditheringnone►
CategoryAPI Toolkit/Utils/Image
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | Source image or batch to pixelate. | |
| downscale_factor | INT | 81–64 | How much to shrink. 8 = each output pixel represents an 8x8 block of the original. |
| upscale_factor | INT | 81–64 | How much to scale back up. Same as downscale = output matches original size but pixelated. Set to 1 for raw pixelated output. |
| palette_mode | COMBO | shared_batch | none = no color quantization. shared_batch = palette from frame 0 applied to all (best for animations, prevents color shimmer). per_frame = each frame gets its own palette. |
| max_palette_size | INT | 322–256 | Max distinct colors in palette. 16-32 for classic SNES look, 64+ for richer art. |
| ditheringopt | COMBO | none | Floyd-Steinberg adds error diffusion for smoother color gradients at small palette sizes. Slower but prettier. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| small_image | IMAGE | — |
| palette_json | STRING | — |