Multiply method (ILEADRasterProcess)

Visual Basic example

Visual C++ example

 

Syntax

short Multiply (ILEADRaster *pRaster, short iFactor);

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 iFactor value divided by 100.

This method is used to increase or decrease the brightness in the bitmap by multiplying the colors in the specified bitmap by a value equal to the iFactor value divided by 100. For example, if iFactor 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.

This method does not support signed data images. It returns the error code ERROR_SIGNED_DATA_NOT_SUPPORTED if a signed data image is passed to this method.

This method supports signed images.

See Also

Elements:

Intensity method, GammaCorrect method, Contrast method, HistoContrast method, StretchIntensity method, RemapIntensity method, Invert method, Hue method, Saturation method, Fill method, HistoEqualize method, GetHistogram method, Pixel property, ShowMultiplyDlg method

Topics:

Raster Images: Modifying Intensity Values