SetGrayScale

Controls the grayscale output for JPEG images.

Syntax

bool SetGrayScale (StrParam)

Parameters

True: Saves the image as a grayscale image. False: Saves the image as color.

Smart Parameters are supported.

Returns

Always True.

Level

All Levels.

Details

This action will determine if a JPEG image will be output as grayscale or color. If SetGrayScale is True, all images will be saved as 8 bit grayscale. If SetGrayScale is False, color images will be saved as 24 bit color and if the original image is 1 bit black and white, the new image will be 8 bit grayscale. If this action is not called, the value will default to False (color).
Example:
SetLuminanceFactor("24")
SetChrominanceFactor("10")
SetGrayScale("True")
ConvertToJPEG()