Aspose.Barcode for PHP via Java Generation and Recognition API docs
|
Public Attributes | |
const | AUTO = 0 |
const | DISABLED = 1 |
const | ENABLED = 2 |
Mode which enables or disables additional recognition of barcodes on images with inverted colors (luminance).
This sample shows how to use InverseImage mode$reader = new BarCodeReader("test.png", null, array(DecodeType::CODE_39_FULL_ASCII, DecodeType::CODE_128));$reader->getQualitySettings()->setInverseImage(InverseImageMode::ENABLED);foreach($reader->readBarCodes() as $result){print("BarCode CodeText: " . $result->getCodeText());}
const InverseImageMode::AUTO = 0 |
At this time the same as Disabled. Disables additional recognition of barcodes on inverse images.
const InverseImageMode::DISABLED = 1 |
Disables additional recognition of barcodes on inverse images.
const InverseImageMode::ENABLED = 2 |
Enables additional recognition of barcodes on inverse images