P18 Desaturate

 

/P#

Meaning

Extra Parameters: /a{Parameter1} … /j

18

Desaturate

None

This special process converts a color image to a grayscale image replacing each pixel with its lightness value in Hue-Lightness-Saturation presentation.

 

Example 1: Desaturate an image

Specify the source (/S) and output files (/T). Specify the special process (/P18). Show status of command line with on-screen confirmation (/V).

 

ConvertImage.EXE /S C:\Input\Tryme.jpg /T C:\Output\Out.jpg /P18 /V

 

See Also:

Command Line Examples

Helpful Hints for Creating a Command Line