code: def format_image(path, options):
      '''Formats an image.
  
      Args:
          path (str): Path to the image file.
          options (dict): Options to apply to the image.
  
      Returns:
          (list) A list of PIL images. The list will always be of length
          1 unless resolutions for resizing are provided in the options. 
      '''
      image = Image.open(path)
      image_pipeline_results = __pipeline_image(image, options)
      return image_pipeline_resultf format_image(path, options):
      '''Formats an image.
  
      Args:
          path (str): Path to the image file.
          options (dict): Options to apply to the image.
  
      Returns:
          (list) A list of PIL images. The list will always be of length
          1 unless resolutions for resizing are provided in the options. 
      '''
      image = Image.open(path)
      image_pipeline_results = __pipeline_image(image, options)
      return image_pipeline_results
docs: Formats an image.
  
      Args:
          path (str): Path to the image file.
          options (dict): Options to apply to the image.
  
      Returns:
          (list) A list of PIL images. The list will always be of length
          1 unless resolutions for resizing are provided in the options.