renaming bmp utility functions
implementing bmp output utilities