Skip to Content

Decode Barcode

Online Decoder is built with the latest versions of the decoding libraries as of January 2018. All decode settings represent default settings for each library as it is described in the corresponding User’s Guides.

Though Online Decoder is a convenient tool for “casual” evaluation, it is recommended that full scale performance testing should be conducted with up-to-date trial decoding libraries. They are free and can be downloaded from the product pages or general Downloads page. Trial versions are fully functional, but are time limited to 30 days after the first run.

Upon evaluation library testing, 2DTG's technical staff will be glad to assist you further.

The following barcode decoding libraries are included into the package:

  • Data Matrix, Enterprise Edition
  • QR Code, Professional Edition
  • 1D Barcodes including: EAN 13, EAN 8, UPCE, Code 39, Code 128, Interleaved 2 of 5 and Codabar
  • GS1 Databar (former RSS14 family)
  • PDF417
  • Aztec
  • Postal codes (IMB, Postnet)
Please, choose your grayscale BMP-file.

Sample barcode:


DMatrix count = 1
DM 1:
Decoded array ===========>: The large matrix sample.

int DecodeBitsF (
int rowcount,
int colcount,
TRow* pbits

This function decodes the bar code on the scanned grayscale image and calculates the bar code parameters that can be inspected by another DLL functions.

Specifies the number of rows in the image.
Specifies the number of columns.
Points to an array pbits[0], pbits[1], ..., of pointers to bitmap lines. The lines are to be obtained by ScanLine function (see Borland VCL), or by GetDIBits function (Windows API) if the image has been loaded from the BMP file.
The image must be scanned in a grayscale palette.
Return Value
The return value is an error count. The negative value means that no acceptable ECC200 Data Matrix has been found in the bitmap. Otherwise the number of Reed-Solomon errors in actually decoded Data Matrix is returned. In this case decoding is considered to be successful.

Square 104 x 104 .

Symbol Quality Parameters (grade):
vert. & horiz. print_growth = -0.44, -0.47
axial_nonuniformity (grade) = 0.03 (4)
grid_nonuniformity (grade) = 1.59 (0)
symbol_contrast (grade) = 79.00% (4)
unused_error_corr. (grade) = 0.93 (4)
fixed_patt_damage. (grade) = 3.40 (2)
(modulation grade) = (1)
(decode grade) = (4)
(overall grade) = (0)