ImageGear Professional v18.2 > 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.
Copy Code
|
|
---|---|
AT_ERRCODE LACCUAPI IG_cpm_profiles_reset( AT_BOOL bConvert ); |
Name | Type | Description |
bConvert | AT_BOOL | IN: specify how this operation should affect associated image. |
Return value is a code of last error or 0 if success.
All pixel formats supported by ImageGear Professional.
None
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.