Table of Contents

Class PDF417ScanningDecoder

Namespace
ZXing.PDF417.Internal
Assembly
zxing.dll
public static class PDF417ScanningDecoder
Inheritance
PDF417ScanningDecoder
Inherited Members

Methods

ToString(BarcodeValue[][])

Returns a string that represents the BarcodeValue jagged array.

public static string ToString(BarcodeValue[][] barcodeMatrix)

Parameters

barcodeMatrix BarcodeValue[][]

Barcode matrix as a jagged array.

Returns

string

A string that represents the BarcodeValue jagged array.

decode(BitMatrix, ResultPoint, ResultPoint, ResultPoint, ResultPoint, int, int, Encoding)

Decode the specified image, imageTopLeft, imageBottomLeft, imageTopRight, imageBottomRight, minCodewordWidth and maxCodewordWidth. TODO: don't pass in minCodewordWidth and maxCodewordWidth, pass in barcode columns for start and stop pattern columns. That way width can be deducted from the pattern column. This approach also allows to detect more details about the barcode, e.g. if a bar type (white or black) is wider than it should be. This can happen if the scanner used a bad blackpoint.

public static DecoderResult decode(BitMatrix image, ResultPoint imageTopLeft, ResultPoint imageBottomLeft, ResultPoint imageTopRight, ResultPoint imageBottomRight, int minCodewordWidth, int maxCodewordWidth, Encoding startWithEncoding)

Parameters

image BitMatrix

Image.

imageTopLeft ResultPoint

Image top left.

imageBottomLeft ResultPoint

Image bottom left.

imageTopRight ResultPoint

Image top right.

imageBottomRight ResultPoint

Image bottom right.

minCodewordWidth int

Minimum codeword width.

maxCodewordWidth int

Max codeword width.

startWithEncoding Encoding

Returns

DecoderResult