IGamutMapModelPlugIn::SourceToDestinationAppearanceColors method (wcsplugin.h)

Returns the appropriate gamut-mapped appearance colors in response to the specified number of colors and the CIEJCh colors.

Syntax

HRESULT SourceToDestinationAppearanceColors(
  [in]  UINT            cColors,
  [in]  const JChColorF *pInputColors,
  [out] JChColorF       *pOutputColors
);

Parameters

[in] cColors

The number of colors in the pXYZColors and pDeviceValues arrays.

[in] pInputColors

A pointer to the array of incoming colors to be gamut mapped.

[out] pOutputColors

A pointer to the array of outgoing colors.

Return value

If this function succeeds, the return value is S_OK.

If this function fails, the return value is E_FAIL.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wcsplugin.h

See also