Return an integer ratio tuple like (16, 9).

def as_int(width, height):
    "Return an integer ratio tuple like (16, 9)."
    gcd = get_gcd(width, height)
    return int(width / gcd), int(height / gcd)