ComfyUI Extension: ComfyUI-Unfake-Pixels
A ComfyUI node for pixel art scaling. Automatically detects the pixel scale using an edge-aware method (Sobel filter + voting on tiles) and downscales the image to that pixel size, reducing color palette.
Custom Nodes (0)
README
Source
This repo is an lazy adaptation of the magnificent JS library Unfake as ComfyUI node.
Original algorythm is described at paper "How to tame pixel art" (rus) of Jenissimo.
Installing
Execute:
cd <you comfy dir>/custom_nodes/
git clone https://github.com/tauraloke/ComfyUI-Unfake-Pixels/edit/main/README.md
Re-run ComfyUI server.
Update your ComfyUI page in the browser.
Usage
Find node "Pixel Art Scaler (Edge-Aware Auto-Scale)" and setup its input and output as you wish.
Examples