A method for scaling a first bitmap from a first size to a second size is disclosed. A first bitmap is accessed. The first bitmap is iterated through and the following are performed until no more size reductions are needed to scale the first bitmap to the second size. A group of pixels is identified from the first bitmap. A unique pixel is identified in the group of pixels. One or more pixels including the unique pixel are copied from the group of pixels to a second bitmap, wherein one or more pixels are not copied to the second bitmap and are not the unique pixel.