Preparations for bitmap compression