ColorMerge method (ILEADRasterProcess)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

short ColorMerge (ILEADRaster *pRaster, ColorSeparationConstants Flags);

Overview

Refer to Managing Color Separations.

Remarks

Creates a color bitmap by merging grayscale bitmaps that were created as color separations. You can use this to recombine the bitmaps that the ColorSeparate method creates.

The supported color-space models are RGB, CMYK, CMY, HSV, and HLS

If all the bitmaps are 16-bit grayscale bitmaps, then the resulting bitmap is 48 bits per pixel. Otherwise, the resulting bitmap is 24 bits per pixel.

You can use the ColorPlanes property to access the grayscale bitmaps.

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.

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

Raster Images: Doing Color Space Conversions

 

Examining and Altering Bitmaps

 

Changing Brightness and Contrast

 

Handling CMYK Files as Separate Bitmaps