image_gamma#

file.image_gamma(p0: float) int#

Set gamma correction value for PCL image files.

Gamma corrects for monitor/printer non-linearities for color saturation/brightness.For example, without gamma correction, a full intensity red pixel will not be twice as bright as a half intensity pixel. 1.0 is the default and is used if not specified.
Args:
p0:

‘gamma_value’ The range is dependent on the system. Typically values are on the order 1<= gamma_value <=3.

Examples:
ensight.file.image_format("pcl")
ensight.file.image_gamma(1.7)
ensight.file.image_printer_model("DeskJet_1200c")
ensight.file.image_file("/tmp/test_image")
ensight.file.save_image()
Returns:

zero on success, non-zero on error