Halftoning is required to print greyscale images on printing
device which support only two greylevels. A pseudo - random dithering matrix of the size (i.e. order of the matrix)
specified by the user is used here. The reduction in the resolution of the image is clearly visible.