API Reference > Functions > odcmLookupACI Function
odcmLookupACI Function
Syntax
C++
FIRSTDLL_EXPORT int odcmLookupACI(ODCOLORREF rgb, const ODCOLORREF* pPalette);

ColorMapping.h

Parameters 
Description 
ODCOLORREF rgb 
[in] RGB to perform mapping.  
const ODCOLORREF* pPalette 
[in] Palette to perform mapping.  

Color index for the given RGB.

Returns color index for given RGB pPalette - palette to perform mapping

  • details Gets the color index for a given RGB.
 

Copyright © 2002–2022. Open Design Alliance. All rights reserved.