Read Barcode Metadata
Read Macro PDF417 and Macro PDF417 Metadata
Metadata from PDF417 barcodes can be obtained using methods of class Pdf417ExtendedParameters that are listed below.
PDF417 Metadata Method | Description |
---|---|
getPdf417MacroFileID | Gets the unique identifier of a barcode series or a PDF417 file |
getPdf417MacroSegmentID | Gets the current identifier of a segment |
getPdf417MacroSegmentsCount | Returns the number of barcodes in a series |
getPdf417MacroFileName | Returns the name of a file |
getPdf417MacroChecksum | Gets the checksum value computed using CCITT-16 polynomial |
getPdf417MacroFileSize | Returs the total size of bytes in a series |
getPdf417MacroTimeStamp | Returns the time spent to generate/send the file |
getPdf417MacroAddressee | Gets the address of the file sender |
getPdf417MacroSender | Returns the name of the file sender |
Read Metadata from QR Codes with Structured Append
To fetch metadata from QR Code barcodes with structured append, Aspose.BarCode for Java provides a special class called QRExtendedParameters. Methods of this class enable reading the information from structured append that is used to combine several QR Code barcode into one. This data can be obtained using the following methods:
- getQRStructuredAppendModeBarCodeIndex - returns the sequence number of the current barcode (starting from 0)
- getQRStructuredAppendModeBarCodesQuantity - returns the number of barcodes in a composite QR Code barcode taht can take values from 2 to 16
- getQRStructuredAppendModeParityData - returns the checksum identifier byte that is usually computed as XOR of all bytes in which UTF16BE characters are encoded in two bytes
Read Metadata from DataBar Barcodes with 2D Components
Metadata from DataBar barcodes with 2D components can be obtained using class called DataBarExtendedParameters that provides a special method called is2DCompositeComponent. This methods allows enabling or disabling a 2D component in DataBar barcodes.
Read Metadata from 1D Barcodes
Some 1D barcode types, i.e. EAN 13, allow separating barcode input information itself from the checksum value. To do this, class OneDExtendedParameters provides the getValue method that allows getting 1D barcode text and the getCheckSum method that returns the result of checksum computation.
Get Raw Data from Code 128 Barcodes
Input data stored in Code 128 barcodes can be encoded in three ways: A, B, or C. Class Code128ExtendedParameters provides a special method called getCode128DataPortions that returns decoded parts of barcode input information and the encoding mode.