Enum InverseImageMode

InverseImageMode enumeration

Mode which enables or disables additional recognition of barcodes on images with inverted colors (luminance).

public enum InverseImageMode

Values

NameValueDescription
Auto0Disables additional recognition of barcodes on inverse images for all barcode types except QR Code.
Disabled1Disables additional recognition of barcodes on inverse images.
Enabled2Enables additional recognition of barcodes on inverse images

Examples

This sample shows how to use InverseImage mode

[C#]
using (BarCodeReader reader = new BarCodeReader(@"c:\test.png", DecodeType.Code39Extended, DecodeType.Code128))
{
    reader.QualitySettings.InverseImage = InverseImageMode.Enabled;
    foreach (BarCodeResult result in reader.ReadBarCodes())
        Console.WriteLine(result.CodeText);
}

See Also