Implement method to process bitmaps