Extensions/ComfyUI-Unfake-Pixels
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…

By tauraloke·Created about a year ago·Updated about a year ago· 47
tauraloke/ComfyUI-Unfake-Pixels
Nodes1
On cloudLocal install
Categoryimage/postprocessing
Stars47
Updatedabout a year ago
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.git

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. Screenshot

Examples

Original image Pixelated image