lFlags

A flag that indicates the type of leveling to perform. Possible values are:

Value

Meaning

AUTO_LEVEL

[1] Perform leveling on the individual R, G and B channels, treating each of the R, G and B channels as a separate entity. It introduces color cast on the image.

AUTO_CONTRAST

[2] Perform leveling on the MASTER channel (the grayscale values of the pixels). No color cast will be introduced.

AUTO_INTENSITY

[3] Perform leveling on the RGB channel (the sum of the R, G, and B channels). No color cast will be introduced.

AUTO_NOPROCESS

[4] Do not process the bitmap. Just update pLvlClr with the color leveling information used. The color leveling information used depends on which of the other flags was set with AUTO_NOPROCESS. Only one other flag may be set with AUTO_NOPROCESS.