Load an image, then rebuild it as pixel art instead of just shrinking it. This samples each block,
finds a representative color, optionally reduces the palette, and can add simple edge-aware shading.
PNG, JPG, WEBP, whatever the browser can decode.
Example: 4 means each 4×4 source block becomes 1 drawn pixel.
Only changes the displayed size, not the logical pixel-art resolution.
0 disables palette snapping. Higher values keep more color detail.
Edge-aware tries harder to preserve major boundaries inside each block.