added bitmap utils