Perfect Pixel: Open-Source Tool to Refine AI Pixel Art into Aligned Grids

tom_doerr · x · 2026-08-07

Perfect Pixel is an open-source tool designed to fix scaling issues in AI-generated pixel art caused by inconsistent sizes and non-square grids.

It automatically detects the optimal grid size and refines messy AI pixel art into perfectly aligned, pixel-perfect results. It offers both an OpenCV backend and a lightweight pure Numpy backend, with ComfyUI integration and a Web Demo available. The project currently has 1.8k stars on GitHub.

Original post →

More from coding & agent

coding & agent channel →