STable example for C++ Builder
//This example remaps the saturation of each color to one half its original
short i;
LEADRasterProcess* pRasterProc= NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&pRasterProc);
for (i= 0; i<= 255; i ++)
pRasterProc->set_STable (i, i / 2);
pRasterProc->RemapHue ( LEADRasterView1->Raster, False, False, True, False);
pRasterProc-> Release( );