PixelArt-Processing-Nodes-for-ComfyUI

PixelArt-Processing-Nodes-for-ComfyUI
★ 13

像素艺术图像处理GPU加速色彩量化
为ComfyUI提供像素风格图像处理自定义节点,包含下采样/上采样、色彩量化和分辨率调整,GPU加速并保留锐利边缘,可输出调色板用于后续处理。
💡 在ComfyUI中进行像素风缩放与调色处理。
🍴 3 Forks💻 Python🔄 2024-09-06
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/e98a62d17551
📄 README

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

  • Clone or download this repository.
  • Copy the folder pixelart_processing into the custom_nodes directory of your ComfyUI installation.
  • Restart ComfyUI.
  • 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.