ImageGear for C and C++ on Windows v19.6 - Updated
IG_PDE_image_set_colorspace
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_IMAGE > IG_PDE_image_set_colorspace

Sets the color space of the image.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_image_set_colorspace (
        HIG_PDE_IMAGE hImage,
        HIG_PDE_COLORSPACE hColorSpace 
);

Arguments:

Name Type Description
hImage HIG_PDE_IMAGE Image whose color space is set.
hColorSpace HIG_PDE_COLORSPACE PDE ColorSpace object.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.