Available in the LEADTOOLS Imaging toolkit. |
ColorPlanes property (Main Control)
Visual Basic example
Visual C++ 4.0 example
Access 2.0 example
Access
95, 97 example
Visual
J++ example
Syntax OLE_HANDLE ColorPlanes (short iIndex);
Overview: Refer to Managing Color Separations.
Remarks
Is the array of grayscale bitmaps created by the ColorSeparate method.
You can merge the bitmaps in the array by using the ColorMerge method. The separations follow the color order of the image data. In most cases, this is the same as the abbreviation of the color-plane model. For example, in a CMYK separation, ColorPlanes(0) is the cyan plane. The only exception is RGB, where the image data is usually stored as blue-green-red, and ColorPlanes(0) is the blue plane.
You can use the equals (=) operator to copy a separation bitmap to or from a Main Control. For example, in Visual Basic:
LEAD2.Bitmap = LEAD1.ColorPlanes(0)
You can also free a separation bitmap from memory by assigning it a value of 0.
See Also
Topics: Raster
Images: Doing Color Space Conversions
Examining and Altering Bitmaps