API Reference Guide > Core Component API Reference > Core Component Functions Reference > Display Functions > IG_dspl_dithering_set |
This function sets new dithering options.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_dspl_dithering_set( [IN] HIGEAR hIGear, [IN] DWORD dwGrpID, [IN] AT_MODE nDitherFlags ); |
hIGear | ImageGear handle of image. |
dwGrpID | Identifier of group from which to set dithering. |
nDitherFlags |
New value of DitherMode to set. Possible values include:
with OR combination from two flags:
|
Returns the number of ImageGear errors that occurred during this function call.
All pixel formats supported by ImageGear for C and C++.
MFC
Copy Code
|
|
---|---|
HIGEAR hIGear; /* HIGEAR handle of image */ DWORD nGrpID; /* display group identifier */ ... /* if device is palette based then dither to fixed palette */ IG_dspl_dithering_set( hIGear, nGrpID, IG_DSPL_DITHER_AUTO| IG_DSPL_DITHER_FIXED_PALETTE ); ... |