1. A method of compressing an image, comprising: determining components of an image, and arranging said components based on their gray scale values; determining which gray scale values have a number of pixels that is less than a threshold number of pixels; and compressing said gray scale values which have said number of pixels less than said threshold, by combining together multiple grey scale values.