Nodes/ComfyUI vsLinx Nodes/Image to Pixel Art
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.

By vslinx·Created 12 months ago·Updated 27 days ago· 20
Image to Pixel Art
  • image
  • pixel_art
pixel_size8
num_colors32
ditheringFloyd-Steinberg
paletteAuto
downscale_filterBox (smooth)
upscale_to_originaltrue
CategoryvsLinx/image

Inputs (7)

NameTypeDefaultDescription
imageIMAGE
pixel_sizeINT81–128How many original pixels make up one pixel-art pixel. 8 on a 512px image → 64×64 pixel grid.
num_colorsINT322–256Max palette size when using Auto or Grayscale palette.
ditheringCOMBOFloyd-Steinberg5 options: None, Floyd-Steinberg, Bayer 2x2, Bayer 4x4, Bayer 8x8
paletteCOMBOAuto7 options: Auto, Grayscale, C64 (16), CGA (16), GameBoy (4), NES (52), +1
downscale_filterCOMBOBox (smooth)Box averages each pixel block before quantizing (better color). Nearest samples a single pixel (harder, more aliased).
upscale_to_originalBOOLEANtrueScale 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)

NameTypeDescription
pixel_artIMAGE