Multiply method (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int Multiply(unsigned uFactor);

Delphi Syntax

Function Multiply (uFactor: L_UINT): L_INT;

Overview

Refer to Changing Brightness and Contrast

Remarks

Increases or decreases the brightness in the bitmap by multiplying the colors in the specified bitmap by a value equal to the uFactor value divided by 100.

This method is used to increase or decrease the brightness in the bitmap by multiplying the colors in the active bitmap by a value equal to the uFactor value divided by 100. For example, if uFactor is 131, the colors in the specified bitmap will be multiplied by 1.31.

This method supports 12 and 16-bit grayscale and 48 and 64-bit color images. Support for 12 and 16-bit grayscale and 48 and 64-bit color images is available only in the Document/Medical toolkits.

See Also

Elements:

Intensity method, GammaCorrect method, Contrast method, HistoContrast method, StretchIntensity method, RemapIntensity method, Hue method, Saturation method, HistoEqualize method, Fill method, GetHistogram method, AddWeightedBitmaps method, ShowMultiplyDlg method

Topics:

Raster Images: Modifying Intensity Values