Photometric
Overview
The Photometric property determines how the toolkit interprets a pixel value in a bitmap. A photometric value of 0 means that a pixel value of 0 if considered to represent the color black. A photometric value of 1 means that a pixel value of 0 is considered to represent the color white. This property is only used in conjunction with the ScanBarcodeFromBitmap method. The ScanBarcodeFromDIB method does not refer to this property because the color map is stored within the DIB.
Default value = 0
void STSetParameter(hBarcode, ST_CONTRAST, uint16 *value) ;
void STGetParameter(hBarcode, ST_CONTRAST, uint16 *value) ;
e.g
// Set a photometric value of 140
#include "barcode.h"
uint16 value = 140 ;
STSetParameter(hBarcode, ST_CONTRAST, &value) ;