no_input_message¶

no_input_message(input_file=None, message='No image input provided.\n')[source]¶

This function is called if no input is provided.

Parameters:
  • input_file (str or Path) – Path to input file.

  • message (str) – Error message to display.

Returns:

Return input path as Path.

Return type:

Path