ImageGear for C and C++ on Linux v19.10 - Updated
IG_PDE_image_get_colorspace
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_IMAGE > IG_PDE_image_get_colorspace

Gets the color space object for an image.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_image_get_colorspace (
        HIG_PDE_IMAGE hImage,
        LPHIG_PDE_COLORSPACE lphColorSpace 
);

Arguments:

Name Type Description
hImage HIG_PDE_IMAGE Image whose color space is obtained.
lphColorSpace LPHIG_PDE_COLORSPACE Color space for hImage. Returns NULL if hImage is an image mask.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.