def get_images(directory):
    """
    Gets all PNG, JPG, GIF, and BMP format files at path

    :param Path directory: location to search for image files
    """
    files = []
    patterns = ('*.png', '*.jpg', '*.gif', '*.bmp')
    for pattern in patterns:
        files.extend(directory.glob(pattern))

    return files