Scroll to navigation

DMTXREAD(1) General Commands Manual DMTXREAD(1)


dmtxread - scan Data Matrix barcodes


dmtxread [options] [FILE]...


dmtxread searches the named input FILEs (or standard input if no files are named or the filename "-" is given) for ECC200 Data Matrix barcodes, reads their contents, and writes the decoded messages to standard output.


Only print the codewords extracted from a Data Matrix, and not the actual decoded message.
Pixel length of smallest expected edge in image.
Pixel length of largest expected edge in image.
Use scan grid with gap of N pixels (or less) between lines.
List the supported input image formats.
Stop scan after N milliseconds (per image).
Print a newline character at the end of decoded data.
Only scan Nth page of images.
Maximum deviation (degrees) from squareness between adjacent barcode sides. Default value is N=40, but N=10 is recommended for flat applications like faxes and other scanned documents. Barcode regions found with corners <(90-N) or >(90+N) will be ignored by the decoder.
Decoding resolution in dots per inch (DPI). Only used for vectorial input images such as SVG, PDF, etc... This option accepts a single argument (eg: 300) as well as horizontal and vertical resolutions (eg: 300x150). The default resolution is 72dpi.
Only consider barcodes of specific size or shape.
a = All sizes [default]
s = Only squares
r = Only rectangles
RxC = Exactly this many rows and columns (10x10, 8x18, etc...)
Set the minimum edge threshold as a percentage of maximum. For example, an edge between a pure white and pure black pixel would have an intensity of 100. Edges with intensities below the indicated threshold will be ignored by the decoding process. Lowering the threshold will increase the amount of work to be done, but may be necessary for low contrast or blurry images.
Do not scan pixels to the left of pixel column N (or N%).
Do not scan pixels to the right of pixel column N (or N%).
Do not scan pixels below pixel row N (or N%).
Do not scan pixels above pixel row N (or N%).
Correct at most N errors per image (0 = correction disabled).
Make copy of image with additional diagnostic data.
Interpret detected regions as Data Mosaic barcodes.
Stop scanning after Nth barcode is returned.
Print each decoded message with its fax/tiff page number.
Prefix the decoded message with the barcode's corner locations.
Internally shrink image by factor of N. Shrinking is accomplished by skipping N-1 pixels at a time, often producing significantly faster scan times. It also improves scan success rate for images taken with poor camera focus provided the image is sufficiently large.
Print Extended ASCII characters in UTF-8 Unicode.
Use verbose messages.
Print program version information.
Display this help message and quit.


ISO/IEC 16022:2000



Exit status has following possible meanings:
0 At least one barcode was found and decoded
1 No barcodes were found
>1 Error occurred that prevented command from executing normally


Email bug reports to


Copyright (C) 2008, 2009 Mike Laughton

June 2, 2011