ImageGear for C and C++ on Linux v20.0 - Updated
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_COLORSPACE > IG_PDE_colorspace_get_base_color_components

Gets the number of components in the base color space of an indexed color space.


Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_colorspace_get_base_color_components (
        HIG_PDE_COLORSPACE hColorSpace,
        LPLONG lpnColorComponents


Name Type Description
hColorSpace HIG_PDE_COLORSPACE The base color space.
lpnColorComponents LPLONG Number of components in hColorSpace.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.


For example, for [/Indexed /DeviceRGB...], the number of components is 3.

Is this page helpful?
Yes No
Thanks for your feedback.