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
2
votes
2 answers

How to embed ZXing scanner in PageRenderer/Fragment/View into Xamarin.Forms ContentPage?

I want to have ZXing.Net.Mobile barcodes scanner with a custom overlay and some UI components implemented in Xamarin.Forms in one View. Is it possible at all? I assumed that this is possible and implemented this: 1.…
Tony V.
  • 350
  • 1
  • 4
  • 21
2
votes
0 answers

Generating a GS1-Databar (formerly RSS_14) barcode using ZXing

The below snippet gives error No encoder available for format RSS_14 I have referred this link for generating the barcode in GS1-Databar. I found that the ZXing.Net doesn't support encoding in GS1-Databar. Please provide the custom way to…
2
votes
0 answers

ZXing-embedded library scans irrelevant/wrong bar-code values in some cases

I've implemented native ZXing-embedded library in my Xamarin.Android project and everything's working fine except one issue that when I try to scan the QR or Barcodes from some distance, then it returns some random irrelevant values which are…
Nidhi Sood
  • 125
  • 1
  • 1
  • 7
2
votes
1 answer

To merge not all dll's with ILMerge

Is it possible to merge not all, but just some of reference dll's with ILMerge? I have two references - Zxsign and DirectShowLib. I did ILMerge just with DirectShowLib: "C:\Program Files (x86)\Microsoft\ILMerge\ILMerge.exe" SnapShot.exe…
vico
  • 17,051
  • 45
  • 159
  • 315
2
votes
1 answer

Use torch while scanning barcode

I'm using ZXing.Mobile.Forms to scan the barcodes. I would like to turn the torch on while scanning the barcodes. I tried ToggleTorch() but i dont see the torch light. Please help to overcome this scenario. Here is my code: var scanner = new…
Ajith
  • 55
  • 11
2
votes
0 answers

Xamarin Android Qr Issue (Continues scans)

I'm using qr code scanner in Xamarin forms. plugin is Zxing.net.mobile. I want to scan continuously, for that i wrote a code. it's working in IOS but in android it's not working. Actually the process is First the user will scan a QR Code the he will…
2
votes
1 answer

Zxing Xamarin Forms BlackScreen on Resume

Today I found out a Issue on Xamarin Forms (Android) - iOS works well. Zxing is Initialized in the Constructor. Permissions are correctly set. Steps to Reproduce: Navigate to the Scanner Page. (don't scan anything) Click on the "Home" Button which…
Alex
  • 600
  • 1
  • 7
  • 20
2
votes
2 answers

Generate GS1-128 using ZXing.Net

We use ZXing.Net to generate code 128 barcode and everything works fine. BarcodeWriter writer = new BarcodeWriter { Format = BarcodeFormat.CODE_128 }; writer.Write("01950123456789031000012317150801").Save("code128.png", ImageFormat.Png); Recently…
walterhuang
  • 574
  • 13
  • 24
2
votes
2 answers

Getting NULL value for barcode decoding

I have added the Zxing.Net from NuGet Package Manager in VS 2015. I tried the following code for decoding a CODE_128 barcode. But its giving null as result. The same image is getting decoded successfully in almost all the online barcode reading…
Jibin Balachandran
  • 3,381
  • 1
  • 24
  • 38
1
vote
1 answer

Why ZXing.Net.Maui scanner doesn't work if the app doesn't use Shell?

I'm trying to use ZXing.Net.Maui scanner in an empty .Net Maui app. I seems like it doesn't work if the app doesn't use shell. Here is my app class code: The scanner works if the app is initialized using this code: namespace MauiApp1; public…
Thomas Carlton
  • 5,344
  • 10
  • 63
  • 126
1
vote
0 answers

Maximum characters limit for Zxing QR code scanner

I am using QZXing Qt library for the reading the QR code, I would like to know what is the maximum characters limit can a QZXing can support. Thanks in advance
Rakesh Varma
  • 21
  • 1
  • 2
1
vote
1 answer

How to fix QR code generation using ZXing.Net lib

It is necessary to generate a QR code from the text. I'm using the ZXing.unity.dll library using ZXing; using ZXing.QrCode; Generating QR code private static Color32[] Encode(string textForEncoding, int width, int height) { var writer = new…
voids Mark
  • 19
  • 6
1
vote
1 answer

Is it possible to create a qr code using ZXing.Net without a quiet zone?

(How) is it possible to create a qr code using ZXing.Net without a quiet zone? This is my current code: BarcodeWriter barcodeWriter = new BarcodeWriter(); barcodeWriter.Format = BarcodeFormat.QR_CODE; barcodeWriter.Renderer = new…
Florian
  • 1,019
  • 6
  • 22
1
vote
3 answers

ZXing Scanner not scanning on iOS in Xamarin Forms app

I'm using the 3.1.0-beta version of ZXing.Net.Mobile and ZXing.Net.Mobile.Forms in my Xamarin Forms 5 app. Everything is working fine on Android but on iOS, it just doesn't seem to scan at all on an actual device connected to my PC via USB. I also…
Sam
  • 26,817
  • 58
  • 206
  • 383
1
vote
2 answers

how to make ZxingScanner start scanning?

I am trying to implement barcode scanning in my Xamarin form, but no success. I am able to get the camera working, but I don't see the red line on the screen and it simply refuses to scan anything I tried this answer. I can see thru my camera, but…
GuidoG
  • 11,359
  • 6
  • 44
  • 79
1
2
3
9 10