ImageGear for C and C++ on Windows v19.10 - Updated
IG_PDE_colorspace_get_ctable
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_COLORSPACE > IG_PDE_colorspace_get_ctable

Gets the component information for an indexed color space.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_colorspace_get_ctable (
        HIG_PDE_COLORSPACE hColorSpace,
        LPBYTE lpColorTable
);

Arguments:

Name Type Description
hColorSpace HIG_PDE_COLORSPACE The color space whose component information table is obtained.
lpColorTable LPBYTE The color look-up table, which is nColorComponents * (nHiVal + 1) bytes long, where nColorComponents = number of components in the base hColorSpace. Each entry in the table contains nColorComponents bytes, and the table is indexed 0 to nHiVal, where nHiVal is the highest index in the color table. The table is indexed from 0 to nHiVal, thus the table contains nHiVal + 1 entries.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.