ComfyOnline
PixelArtDetectorConverter

ComfyUI Node: 🎨PixelArt Palette Converter

Authored by dimtoneff

Created about a year ago

Updated 3 months ago

184 stars

Category

image/PixelArt🕹️

Inputs

images IMAGE

palette

  • NES
  • GAMEBOY

pixelize

  • Image.quantize
  • Grid.pixelate
  • NP.quantize
  • OpenCV.kmeans.reduce

grid_pixelate_grid_scan_size INT

resize_w INT

resize_h INT

reduce_colors_before_palette_swap BOOLEAN

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

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

related extension: