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
1
vote
1 answer

ZXing BarcodeReader Don't Decode Some Barcodes

I am developing a barcode reader with Xamarin.Forms. And I'm trying to scan the image on Android device. First I select the image from the gallery with Xamarin.Essentials MediaPicker and from the path of this image I get an RGBLuminance with the…
1
vote
0 answers

How to implement flashlight button on Android in Xamarin Forms using ZXing Net Mobile

I am looking for a clean way to create a (custom) overlay with a flashlight button for the barcode scanner using the Zxing Net Mobile NuGet package. I already looked at some samples, but unfortunately these samples use clean Xamarin and no…
Marco
  • 11
  • 2
1
vote
0 answers

Zxing is not supoorting this qr code. Its not able to scan the qr code

I have implemented the Zxing but it does not scans with this qr code. Can anyone please suggest how to go for it.enter image description here This is the code for the viewmodel that I have used.- private async void…
1
vote
0 answers

Scanning Multiple 1D Barcodes (CODE -128) with ZXING

I have managed to scan a TIFF file with ZXING. this file has 4 1D barcodes inside but ZXING brings out 2 horizontal barcodes. How can it be possible to scan the Verticals barcodes? The current code scans successfully ONLY horizontal barcodes, but…
Yaniv Levy
  • 78
  • 10
1
vote
0 answers

How to pass Android Byte [] array from OnPreviewFrame to Zxing Decode(byte[])

When I am accessing the byte array from the camera preview, and I try passing it to Zxing's Decode(byte[]) method it says the source must not be null. I tried converting this byte array to base64 and seeing what the image looks like, but the image…
Joshua Wilkinson
  • 133
  • 2
  • 10
1
vote
0 answers

ZXing.net for mobile is scanning phantom barcodes

I have a Xamarin.Forms app using ZXing.net mobile v3. I've had zero issues until a user reported the camera just started acting like it scanned something without ever pointing the camera to a barcode. After some troubleshooting I was able to…
Mark Erickson
  • 767
  • 1
  • 7
  • 27
1
vote
1 answer

zxing.net: iOS not recognizing any barcodes

I'm using this library for my Xamarin.Forms app: https://github.com/Redth/ZXing.Net.Mobile Just to start off, it's working perfectly on Android. iOS shows the camera viewfinder, but it doesn't ever recognize any barcodes. I initialize it in my…
Inrego
  • 1,524
  • 1
  • 15
  • 25
1
vote
2 answers

ZXing.Mobile.Net.Forms ZXing.Result Type Issue

I'm trying to get the result of a scan using a MobileBarcodeScanner. If I save the result as a var everything works fine, but as soon as I try to use ZXing.Result, I get the message The type 'Result' exists in both 'zxing, Version=0.16.5.0 ...' and…
rcole
  • 96
  • 6
1
vote
2 answers

Read multiple barcodes from single image file using Zxing library in java service

Hi i have created a java service for reading the barcode from image here iam using Zxing library for decoding the text here the challenge is if a file with single barcode it's working fine if there are multiple barcodes it's producing irrelevant…
Mohan vel
  • 505
  • 9
  • 29
1
vote
2 answers

Image does not contain a definition for 'PIXEL_FORMAT'

I've tried testing the c# code for a QR code reader in this answer here I just copy pasted the code into a C# script and placed it in the ARCamera prefab just like how the KDelli said but I've been getting this error: error CS0117: 'Image' does not…
1
vote
1 answer

ZXing can not read this QRCode

I have the following code: using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using ZXing; namespace SeparatorPageSplit.framework { class QRCodeScanner …
Be Kind To New Users
  • 9,672
  • 13
  • 78
  • 125
1
vote
0 answers

ZXing QR Scanning Animation

We're looking to achieve this animation with the dots below when scanning QR codes. We're developing the app in Xamarin Native. Does the ZXing team plan to add this kind of a feature in some of their future versions? Thanks!
Lazar Nikolov
  • 928
  • 14
  • 21
1
vote
2 answers

Xamarin Android MobileBarcodeScanner.Initialize(Application) not found

Help, I am using Xamarin.Android And I already install Zxing.Net.Mobile 2.4.1 Why i cant using MobileBarcodeScanner.Initialize(Application) is there any component i have to install? See this SS
1
vote
0 answers

How to arrange positioning of Qr code using Zxing in c#

How to arrange positioning of qr code for a label printing.?.I have tried this code.How to get the qr code at the middle of label? Encoding m_encoding = Encoding.GetEncoding("ISO-8859-1"); byte[] dataFromFile =…
Ann J
  • 25
  • 7
1
vote
2 answers

App Certificaion fails with: API FreeAddrInfoEx in ws2_32.dll is not supported for this application type

I created a very simple Xamarin Forms App which uses ZXing.Net.Mobile and HttpClient (the app scans a bar-/QR-code and sends it to a server). This app was successfully released in the App Store and the Play Store, but when uploading it to the…
Christoph Fink
  • 22,727
  • 9
  • 68
  • 113
1 2
3
9 10