Median cut reduction reduces an image
to 8bpp by dividing it into a number of equally sized squares. The number of squares is equal to the
number of desired output colors. The colors of the pixels in each square will be averaged to produce
a resulting color. The resulting image will contain only these colors.