Converts a jpeg to grayscale, then makes a histogram of its shades.