image_color_type#

file.image_color_type(p0: str) int#

Specify that the image will be printed in color or black and white

All formats support this parameter except TIFF and EnVideo
Args:
p0:

‘color_type’

  • color

  • black&white

Examples:
ensight.file.image_format("jpeg")
ensight.file.image_color_type("black&white")
ensight.file.image_file("/tmp/test_image")
ensight.file.save_image()
Returns:

zero on success, non-zero on error