ReadAllP417BarcodesOnImage

Description

The ReadAllP417BarcodesOnImage method searches and decodes all PDF-417 barcodes within the region of the input image specified in the parameters and returns a ReleaseP417Struct HANDLE. This method works for only monochrome, 8 bit per pixel and 24 bit per pixel images. (The 8 bit per pixel and 24 bit per pixel images are converted into monochrome, using adaptive thresholding method.) Use GetP417StructElements method to receive the struct elements, and ReleaseP417Struct method to free the allocated memory. Number of detected PDF-417 barcodes can be retrieved by the method GetBarcodeNum. This function will use the Peterson-Gorenstein-Zierler algorithm to detect and repair damaged codewords.

Syntax RetVal = [BiBrP417] ReadAllP417BarcodesOnImage hDIB

Returns               RetVal       LONGLONG             A pointer to a PDF-417 Barcodestruct.

Remarks            hDib              LONGLONG            Device independent bitmap.

See Also              GetBarcodeNum