compressing data transfers in bitmaps