Data Matrix Code decode returns result null value #589
Unanswered
RadovanPodhradsky
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried to use several appraches to decode DMC generated by online generator https://barcode.tec-it.com/en/DataMatrix which I used with real scanners (Datalogic or Cognex) before. Generated DMC I saved to .bmp or .png files and tied to load using
Bitmap barcodeBitmap = (System.Drawing.Bitmap)System.Drawing.Image.FromFile(dmcFilePath);
or
Bitmap barcodeBitmap = new Bitmap(dmcFilePath);
images are shown properly with
pictureboxBarcode.Image = barcodeBitmap;
I tired these 2 option to decode DMC in bitmap, both returns null result from Decode/decode methods:
testing form usings:
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Windows.Forms;
using ZXing;
using ZXing.Datamatrix;
using ZXing.Common;
.NET Framework 4.8 WinForms testing application with ZXing.Net 0.16.10 nuget installed by NuGet Package Manager.
Dooes somebody have some hints/recommenndations how to decode DMC code generated by
https://barcode.tec-it.com/en/DataMatrix?data=a1234567890112233020250206
successfully?
Beta Was this translation helpful? Give feedback.
All reactions