ColorSeparate method (ILEADRasterProcess)
short ColorSeparate (ILEADRaster *pRaster, ColorSeparationConstants Flags); | |
Overview |
Refer to Managing Color Separations. |
Remarks
Separates the bitmap by color plane to produce one grayscale bitmap per plane. You can specify any of several color-space models.
The supported color-space models are RGB, CMYK, CMY, HSV, and HLS.
This method supports 12 and 16-bit grayscale images and 48 and 64-bit color images. Support for 12 and 16-bit grayscale images and 48 and 64-bit color images is available only in the Document/Medical toolkits.
If the bitmap is a 48 or 64-bit bitmap, then the created bitmaps are 16-bit grayscale. Otherwise, the created bitmaps are 8-bit grayscale.
You can use the ColorPlanes property to access the grayscale bitmaps.
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
Elements |
CMYKRasterCount property, LoadFileCMYKArray method, SaveFileCMYKArray method, RasterIO property, EnablePaintCMYKArray property, CMYKRaster property |
Topics |
|
|
|
|
|
|