This article explains how to correlate the output files produced during a tiff split process against the barcode values returned by GetBarString. The algorithm shown here assumes default split mode (TiffSplitMode = 0) and handles multiple barcodes on a single page and the possibility of no barcode on the first page. The code below uses
The graph below is a representation of a single scan line bisecting the image of the barcode shown underneath. The scale on the Y-axis represents pixel values with distance in pixels on the X-axis. Note that the value of a pixel is derived from the RGB value using the formula (R + G + B) / 3. The
RSS Expanded is capable of storing 74 numeric or 41 alphabetic characters and is normally used in point of sale retail applications. The Softek Barcode Reader SDK will support RSS Databar from January 2010. IIS = Item identification string (including a mod-10 check-digit at end of string) The mod-10 check-digit is calculated from a 13 digit
As the toolkit scans the images in a document, it assigns a “hit-count” to each barcode-like pattern it finds. The hit-count for a very clear barcode will typically be in the region 20 to 100, depending on the size of the barcode and the settings used within the sdk. The PrefOccurrence and MinOccurrence properties specify hit-count levels
PHP developers may be interested in the following link to an interface to the Softek barcode Reader Toolkit for Linux: http://github.com/mkoppanen/php-bardecode Many thanks to Mikko Koppanen.
2-D barcode formats such as PDF-417 can encode a huge character set, which means that the barcode reader toolkit needs to encode characters outside the normal ASCII range. If the Encoding property is set to 2 then the toolkit will use Unicode encoding, whereby characters can be represented by the string &#N; where N is
UPC-A barcodes are a subset of EAN-13. For example, the UPC-A barcode “016000336100” is the same as the EAN-13 barcode “0016000336100”. In fact, UPC-A barcodes are the sub-set of EAN-13 barcodes that start with a 0. The ReadEAN13 property controls whether any barcodes of type EAN-13 are recognized – and this includes UPC-A, whether or
The SkewTolerance property is used for the detection of barcodes in skewed documents, but it can have a negative impact on the performance of the ScanBarCode command, especially when reading PDf-417 and Datamatrix barcodes. One solution to this problem is to use xml settings, which allow you to store sets of properties which are applied
The SDK can be used to convert from TIFF to PDF format as part of the “tiff split” functionality. If the input file for the ScanBarCode method is in TIFF format and the TifSplitPath property is set to a value ending with “.pdf”, then the toolkit will split the input file into sub-files in PDF
Code 39 barcodes can be generated using either fonts or software such as embedded objects. When using a font, the text should include the start/stop * character at either end of the barcode, but software generated barcodes will often add the * characters automatically. This can sometimes result in barcodes with 2 * characters at either