def get_image_list(li):
    """Utility to get all image from txt file

        Input: text file with all images to convert, each file path has one line.
        Output: a python list of file paths
    """
    with open(li) as f:
        filenames = f.readlines()

    filenames = [x.strip() for x in filenames]
    return filenames