Problem and context
Modern generative AI models produce stunning illustrations but struggle with pixel art constraints: pixels drift from rigid grids, resolutions scale inconsistently, and palettes are bloated with thousands of shades.
Game engines and tilemaps require pixel-perfect alignment and strict, indexed color palettes to prevent rendering artifacts and scale correctly.
The goal was to build a high-performance Rust tool (usable as a CLI and in-browser WASM) that snaps pixels to grids, quantizes colors, and preserves dithering patterns.