def get_image_properties(header):
    """
    Get image resolution and bit depth from HRIT header
    """

    header = header[16:25]
    h = int.from_bytes(header[4:6], 'big')
    v = int.from_bytes(header[6:8], 'big')
    bpp = header[3]

    return h, v, bpp