Utility Functions for Use with Bitmap Files

The following functions are general utility routines intended for dealing with bitmap files, but can be used with other file types.