import struct


def read_nih_image_header(fhandle, byte_order, tag):
    """Read NIH_IMAGE_HEADER tag from file and return as dictionary."""
    fhandle.seek(12 + struct.unpack(byte_order+'I', tag.value)[0])
    return {'version': struct.unpack(byte_order+'H', fhandle.read(2))[0]}