In digital signal processing, pixelation (also called a mosaic filter or spatial quantization) reduces the spatial resolution of an image or selected region while keeping its display dimensions unchanged. Our engine downsamples the target region by a factor of 1 / blockSize and then scales it back up to full resolution with ctx.imageSmoothingEnabled = false, producing razor-sharp square color tiles.
| Preset / Block Size | Tile Dimension | Visual Effect | Recommended Use Case |
|---|---|---|---|
8-Bit Retro (4px – 8px) |
4×4 to 8×8 px |
Stylizes photos into classic 16-bit / 8-bit video game sprite aesthetics | Game asset prototyping, retro avatars, and mosaic artwork (pair with Show Pixel Grid Lines) |
Standard Mosaic (12px – 18px) |
12×12 to 18×18 px |
Obscures fine details and small UI text (< 14pt) while preserving overall scene colors | Blurring background dashboards in product demos or hiding small email addresses (Blur Image) |
Strong Censor (24px – 35px) |
24×24 to 35×35 px |
Reduces faces, license plates, and medium headings into unrecognizable macro-tiles | Anonymizing faces in street photography, vehicle plates, and social media screenshots |
Maximum Redact (45px – 100px) |
45×45 to 100×100 px |
Collapses entire words and facial structures into 2–4 solid color blocks | Irreversible redaction of API keys, credit card numbers, passwords, and large document headers |