img pixelate

Pixelates an image into squares, or rectangles if given a rectangular --size or both --cols and --rows.

--crop
Crops the final image to the edges of the pixelation, leaving only fully intact rectangles.
--cols <num>
Splits the image into num columns.
--rows <num>
Splits the image into num rows.
--size <HxW>
Specify the exact size to pixelate by (default: 20x20).