unzoom
Recover native pixel resolution from upscaled pixel art by detecting the underlying grid and downsampling onto it. Use before styling or correcting pixel art.
Instructions
Recover native-resolution pixel art from an upscaled image (e.g. a 32x32 sprite saved at 512x512). Detects the underlying pixel grid and downsamples back onto it, handling slightly uneven grids from lossy resizes. Input min 256x256, max area 2048x2048. The result is OPAQUE (transparency is composited onto white) — run remove_background afterwards if you need it cut out again. Use before passing user-supplied art as a style/reference image, or before correct_pixelart.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Upscaled pixel art image (min 256x256, max area 2048x2048) | |
| quantize | No | Palette handling: 0 auto-detects a palette (default), -1 keeps every color the downsample produces, 2-256 quantizes to exactly that many colors |