K-Centroid Downscale
Shrink big images into clean pixel art: every pixel takes the dominant color of its block, never a muddy average. Free, no signup.
Runs in your browser on Retro Diffusion's Rust engine. Your images never leave your device.
Drop an image here, click to browse, or paste
PNG · JPG · WebP · GIF, up to 16 megapixels
K-Centroid Downscale, step by step
- 01
Load a large image
An upscaled sprite, AI art at 1024 px or a painting you want as pixel art.
- 02
Set the target size
Type the pixel size or pick a divisor; the height follows the aspect ratio unless you unlock it.
- 03
Tune the centroids
Two centroids pick the dominant color of each block. More keeps small details; more iterations settle the colors.
- 04
Download at 1×
Save the true-size PNG, or an enlarged copy with whole-number scaling.
Generate real pixel art from a prompt
Retro Diffusion's models draw on a true pixel grid with a limited palette: characters, tilesets, animations and more, from $0.03 an image. New accounts start with free balance.
K-Centroid Downscale FAQ
Each output pixel covers a block of the source. Instead of averaging the block (which turns edges to mush), K-Centroid clusters the block’s colors with k-means and keeps the color of the biggest cluster. Lines and shapes stay crisp.
It is the downscaler behind Retro Diffusion’s own pixel art pipeline: models draw large, and K-Centroid brings the image down to its real pixel grid without blurring the palette.
Two is right for most art: it picks the dominant color and ignores anti-aliasing. Use 3 or 4 to keep thin details like eyes and highlights that cover only part of a block.
Yes, free with no signup. It runs in your browser on Retro Diffusion’s Rust engine; nothing is uploaded.