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

Inquires the current primary image conversion mode setting.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_primary_reduction_mode_get(
   enumIGRecImgConversion* pConversion
);

Arguments:

Name Type Description
pConversion enumIGRecImgConversion* Address of a variable to receive the current setting of the primary image conversion mode.

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;
enumIGRecImgConversion eConversion = IG_REC_IMG_CONVERSION_AUTO;
ErrCount = IG_REC_primary_reduction_mode_get(&eConversion);