uFlags

Flags that indicate the type of leveling to perform. Possible values are:

Value

Meaning

AUTO_LEVEL

[$0001] 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

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

AUTO_INTENSITY

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

AUTO_NOPROCESS

[$0004] Do not process the bitmap. Just update the Master, Red, Green and Blue parameters 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.