How the pixel grid is made
The block size sets how many original pixels become one pixel of art: at 8, each 8 × 8 square is averaged into a single colour, so a 1600 × 1200 photo becomes a 200 × 150 grid. Partial blocks at the right and bottom edges become cells too. Transparent pixels do not darken the average, and a block that is mostly transparent becomes fully transparent — pixel art has no half-transparent edges.
How the palette is chosen
With a colour limit, the palette is picked by median cut: all the grid’s colours start in one box, and the box with the widest spread of red, green or blue is split at its median until there are 8, 16 or 32 boxes. Each box’s average becomes a palette colour, and every cell takes the nearest one. The process has no random steps, so the same image and settings always give the same result.
Why nearest-neighbour enlargement
Normal resizing blends neighbouring pixels, which turns pixel art into a blur. This tool enlarges with nearest-neighbour, so every cell becomes a crisp square of one colour. You can download the art at the original size, at one pixel per block for use as a game sprite, or at 4, 8 or 16 pixels per block.