ImageGear for C and C++ on Windows v19.10 - Updated
IG_REC_inversion_mode_set
API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Image Processing Functions > IG_REC_inversion_mode_set

Specifies which image inversion mode will be used during the forthcoming IG_REC_PID_IMGPREPROCESS processes.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_inversion_mode_set(
   enumIGRecImgInvert nMode
);

Arguments:

Name Type Description
nMode enumIGRecImgInvert Image inversion mode to be set.

Return Value:

Returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.

Example:

 
Copy Code
AT_ERRCOUNT ErrCount = 0;
enumIGRecImgInvert eMode = IG_REC_IMG_INVERT_AUTO;
ErrCount += IG_REC_inversion_mode_set(eMode);

Remarks:

The Image inversion mode can be either automatic, switched on, or switched off.