ComfyUI Node: 🎨PixelArt Palette Converter

Authored by dimtoneff

Created

Updated

415 stars

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

Category

image/PixelArt🕹️

Inputs

images IMAGE
palette
  • NES
  • GAMEBOY
resize_w INT
resize_h INT
resize_type
  • contain
  • fit
  • stretch
pixelize
  • Image.quantize
  • Grid.pixelate
  • NP.quantize
grid_pixelate_grid_scan_size INT
reduce_colors_before_palette_swap BOOLEAN
reduce_colors_method
  • Image.quantize
  • OpenCV.kmeans.reduce
  • Pycluster.kmeans.reduce
  • Pycluster.kmedians.reduce
reduce_colors_max_colors INT
apply_pixeldetector_max_colors BOOLEAN
image_quantize_reduce_method
  • MAXCOVERAGE
  • MEDIANCUT
  • FASTOCTREE
opencv_settings STRING
opencv_kmeans_centers
  • RANDOM_CENTERS
  • PP_CENTERS
opencv_kmeans_attempts INT
opencv_criteria_max_iterations INT
pycluster_kmeans_metrics
  • EUCLIDEAN
  • EUCLIDEAN_SQUARE
  • MANHATTAN
  • CHEBYSHEV
  • CANBERRA
  • CHI_SQUARE
cleanup STRING
cleanup_colors BOOLEAN
cleanup_pixels_threshold FLOAT
dither
  • none
  • floyd-steinberg
  • bayer-2
  • bayer-4
  • bayer-8
  • bayer-16
paletteList LIST

Outputs

IMAGE

Extension: ComfyUI PixelArt Detector

This node manipulates the pixel art image in ways that it should look pixel perfect (downscales, changes palette, upscales etc.).

Authored by dimtoneff

Looking for a different node?

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

Learn more