add bitmap tools method