ColorReplace Method (ILEADRasterProcess)
short ColorReplace (ILEADRaster* pRaster, short iHue, short iSaturation, short iBrightness) | |
Overview |
Refer to Correcting Colors |
Remarks
Replaces specified colors by adjusting values of hue, saturation and brightness.
The value of the ReplaceColorFuzziness property determines the range around each color where the pixels will be changed according to iHue, iSaturation and iBrightness.
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.
See Also