ImageGear for C and C++ on Linux v20.0 - Updated
IG_cpm_profiles_reset
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Color Profile Management Functions > IG_cpm_profiles_reset

This function resets all default color profiles to default values taken from global parameters.

Declaration:

 
Copy Code
AT_ERRCODE LACCUAPI IG_cpm_profiles_reset(
        AT_BOOL bConvert 
);

Arguments:

Name Type Description
bConvert AT_BOOL IN: specify how this operation should affect associated image.

Return Value:

Return value is a code of last error or 0 if success.

Supported Raster Image Formats:

All pixel formats supported by ImageGear for C and C++.

Remarks:

If value of parameter is TRUE then it converts all images associated with all global profiles to default profiles, but if FALSE then all global profiles are reset to default values but images are not changed.

Please note that color profile management is disabled by default. See Using Color Profile Manager for information about how to activate it.

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