Nodes Browser

ComfyDeploy: How PixelArt Processing Nodes works in ComfyUI?

What is PixelArt Processing Nodes?

This repository provides custom nodes for ComfyUI that enable pixel art style image processing, including downscaling, upscaling, color quantization, and resolution adjustments.

How to install it in ComfyDeploy?

Head over to the machine page

  1. Click on the "Create a new machine" button
  2. Select the Edit build steps
  3. Add a new step -> Custom Node
  4. Search for PixelArt Processing Nodes and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

PixelArt Processing Nodes for ComfyUI

This repository provides two custom nodes for ComfyUI that allow for pixel art image processing, including quantization, upscaling, and downscaling while preserving pixelated details.

Nodes:

1. Pixel Art Quantization Node

  • Description: Converts any image into pixel art by reducing resolution and merging colors into a limited palette.
  • Outputs:
    • A pixelated version of the input image.
    • A color palette with the selected number of colors.

2. Pixel Art Scaling Node

  • Description: Scales pixel art images up or down while maintaining crisp edges. Supports nearest-neighbor and bicubic scaling methods.
  • Outputs:
    • A scaled version of the input image.

Usage

  1. Clone or download this repository.
  2. Copy the folder pixelart_processing into the custom_nodes directory of your ComfyUI installation.
  3. Restart ComfyUI.
  4. Find the new nodes under the Image/Processing category in ComfyUI.

Features

  • GPU-accelerated pixel art image processing.
  • Configurable color quantization.
  • Sharp edge preservation during scaling.
  • Output of color palettes for further processing.

License

MIT License. See LICENSE for more details.