Implement bitmap utilities