/*
 * Read in the location of the pixel array, the image width, and the image 
 * height in the given bitmap file.
 */
void read_bitmap_metadata(FILE *image, int *pixel_array_offset, int *width, int *height) {
    fseek(image, 10, SEEK_SET);
    fread(pixel_array_offset, sizeof(int), 1, image);
    fseek(image, 18, SEEK_SET);
    fread(width, sizeof(int), 1, SEEK_SET);
    fseek(image, 22, SEEK_SET);
    fread(height, sizeof(int), 1, SEEK_SET);
}
set pixel_array_offset, width, and height to what was in the file