def get_orientation(width, height):
    """
    returns the orientation of an image.

    Returns
    -------
    orientation : str
        'landscape', if the image is wider than tall. 'portrait', otherwise.
    """
    return 'landscape' if width > height else 'portrait'