Questions tagged [zxing.net]

zxing.net is a library which supports decoding and generating of barcodes

zxing.net is a library which supports decoding and generating of barcodes (like QR Code, PDF 417, EAN, UPC, Aztec, Data Matrix, Codabar) within images.

The project is a port of the java based barcode reader and generator library ZXing. https://github.com/zxing/zxing It has been ported by hand with a lot of optimizations and improvements.

There is a mirror of the repository at github: https://github.com/micjahn/ZXing.Net

Site: https://zxingnet.codeplex.com/

147 questions
0
votes
1 answer

OpenCvSharp with ZXing read barcodes with camera

I'm having a problem with integrating Zxing libary with openCvSharp. I'm trying to read barcodes live with camera. It throws an exception at the line Result result = barcodeReader.Decode(test); that gives; System.InvalidOperationException: 'You have…
0
votes
0 answers

how to Xamarin/Zxing Qr Scanner make scan more than once in sequence?

i m trying to make an app which uses Xamarin & ZXing to read qr codes which implicates web site adressess and after successful qr read the app opens the link in browser. but my problem is: after opening the link in browser and returning to the qr…
0
votes
2 answers

IBarcodeWriter.Write is gone

I had function that was printing barcode fine: public void drawQr(string val) { IBarcodeWriter writer = new BarcodeWriter { Format = BarcodeFormat.QR_CODE, Options = new QrCodeEncodingOptions { Width = 60, Height = 60 …
vico
  • 17,051
  • 45
  • 159
  • 315
0
votes
2 answers

Generate QR code image stream or bytes for Xamarin Forms

I am struggling big time with generating QR barcodes as a byte[] or Stream (something that I can use on a XAML image source) ZXING.NET I've tried with Zxing.Net but I find the documentation is not great. In fact, when installing in the xamarin forms…
diegosasw
  • 13,734
  • 16
  • 95
  • 159
0
votes
1 answer

Xamarin datagrid not show up after OnScanResult Zxing

I can get datatable after scan barcode but it not show when i bind it to sfDatagrid. what am i doing wrong. I think i call vm.TimSPTonKho.Execute(null); in .cs incorrectly code xaml and .cs
Tôm Leè
  • 7
  • 6
0
votes
0 answers

Getting a SIGABRT in Xamarin.Forms (iOS) when using camera initiated from website in a WKWebView

I have a Xamarin.Forms app (XF 4.3.0.991211) VS2019 (16.4.5) XCode (11.3.1) There is an existing web app that allows the user to take pictures of equipment before and after kinda of thing. The XF app launches a WKWebView to view this site and the…
Mark Erickson
  • 767
  • 1
  • 7
  • 27
0
votes
2 answers

How to flip Camera used by ZXing in Xamaring Forms

As part of the app i'm developing i want the ability to change between using the front or back camera, but from my searches and attempts i haven't been able to get it to work using the front camera. The scanner view doing the scanning is the one…
André Madsen
  • 63
  • 2
  • 8
0
votes
1 answer

Await Action() is not awaited

I'm using ZXing.Net.Mobile library to scan QR codes. I would like to put the code responsible for scanning to separate class so I could just call a method from it and it would return the result. Something like that: var scanner = new…
robs23
  • 135
  • 1
  • 13
0
votes
1 answer

Issue with QR Decoding using Zxing.Net in Powershell - Cannot find an overload for "Decode" and the argument count: "1"

I am trying to decode an QR Code in PowerShell with using Zxing.net (https://github.com/micjahn/ZXing.Net) There is a HowTo at this page but I am not able to use it that…
0
votes
1 answer

ZXing.NET EAN8Writer getChecksum

I want to check my (bar)code or get missing checksum number before creating a barcode picture in VB.NET. This is critical parts of minimized example on how this look like: Imports ZXing Imports ZXing.Common Imports ZXing.OneD ... Dim writer As…
Wine Too
  • 4,515
  • 22
  • 83
  • 137
0
votes
1 answer

How to set 2D DataMatrix Formats for datamatrix image generation in zxing library

I have to generate different data formats(Like 8x8,10x10,12x10 etc) of DataMatrix image using zxing library.currently based on data length automatic format will be set in the zxing library. So where we have to do the changes to take the data format…
Praveen Kumar
  • 109
  • 1
  • 3
  • 11
0
votes
1 answer

Colorize barcode bitmap by Color

I'm generating barcodes using ZXing.NET with this code BarcodeWriter barcodeWriter = new BarcodeWriter { Format = BarcodeFormat, Options = new EncodingOptions { Width = barCodeWidth, Height = barCodeHeight, …
user9945420
0
votes
1 answer

NuGet Package Manager Console returns InvalidOperation when trying to install the ZXing.Net library

I am trying to install the ZXing.Net library to VisualStudio 2019 to use in Unity but entering the command in the console returns a category of InvalidOperation I just copy pasted the code right our of ZXing.Net in nuget.org but it returned this…
0
votes
2 answers

Scanning of barcode not letting user move barcode scans twice

I am using zxing scanner and it works great but for some reason it's scanning the same barcode twice. I have put a thread delay in to try to keep the view port open but allow the operator time to move the device away from the bar code but no luck…
c-sharp-and-swiftui-devni
  • 3,743
  • 4
  • 39
  • 100
0
votes
0 answers

I am not able to scan Maxicode Barcode Zxing Xamarin

I have the next code: MobileBarcodeScanningOptions options = new MobileBarcodeScanningOptions(); options.PossibleFormats = new List() { ZXing.BarcodeFormat.MAXICODE }; options.TryHarder =…