Nodes/ComfyUI-API-Toolkit/Pixel Art Resize
ComfyUI Node

Pixel Art Resize

A ComfyUI node in API Toolkit/Utils/Image with 6 inputs and 3 outputs.

By IxMxAMAR·Created 5 months ago·Updated about a month ago· 1
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)

NameTypeDefaultDescription
imageIMAGESource image or batch to pixelate.
downscale_factorINT81–64How much to shrink. 8 = each output pixel represents an 8x8 block of the original.
upscale_factorINT81–64How much to scale back up. Same as downscale = output matches original size but pixelated. Set to 1 for raw pixelated output.
palette_modeCOMBOshared_batchnone = 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_sizeINT322–256Max distinct colors in palette. 16-32 for classic SNES look, 64+ for richer art.
ditheringoptCOMBOnoneFloyd-Steinberg adds error diffusion for smoother color gradients at small palette sizes. Slower but prettier.

Outputs (3)

NameTypeDescription
imageIMAGE
small_imageIMAGE
palette_jsonSTRING