ComfyUI Node
Image to Pixel Art
Converts an image to true pixel art: downscales to a discrete pixel grid, quantizes to a limited color palette, and applies optional dithering. The result contains only real, hard-edged pixels — no anti-aliasing or blending.
Image to Pixel Art
- image
- pixel_art
◄pixel_size8►
◄num_colors32►
◄ditheringFloyd-Steinberg►
◄paletteAuto►
◄downscale_filterBox (smooth)►
◄upscale_to_originaltrue►
CategoryvsLinx/image
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| pixel_size | INT | 81–128 | How many original pixels make up one pixel-art pixel. 8 on a 512px image → 64×64 pixel grid. |
| num_colors | INT | 322–256 | Max palette size when using Auto or Grayscale palette. |
| dithering | COMBO | Floyd-Steinberg | 5 options: None, Floyd-Steinberg, Bayer 2x2, Bayer 4x4, Bayer 8x8 |
| palette | COMBO | Auto | 7 options: Auto, Grayscale, C64 (16), CGA (16), GameBoy (4), NES (52), +1 |
| downscale_filter | COMBO | Box (smooth) | Box averages each pixel block before quantizing (better color). Nearest samples a single pixel (harder, more aliased). |
| upscale_to_original | BOOLEAN | true | Scale the pixel grid back to the original image size using nearest-neighbor so each pixel block is clearly visible. Disable to output the raw low-resolution pixel art. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| pixel_art | IMAGE | — |