void read_bitmap_metadata(FILE *image, int *pixel_array_offset, int *width, int *height) {
    
    fread(pixel_array_offset, 10, 4, image);
    fseek(image, 18, *pixel_array_offset);
    fread(width, 4, 1, image);
    fseek(image, 22, *pixel_array_offset);
    fread(height, 4, 1, image);
}

Update pointers to pixel_array_offsey, width, and height for a bitmap