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
0 answers

ZXing barcode throws Exceptional error "Unable to fit message in columns" for PDF417 barcode

I'm testing my desktop application to generate barcode in PDF417 format. Where am i going wrong? Every-time i run code and type any text into textbox and when i try to encode the data, it throws an error saying "Unable to fit message in columns" The…
Ajay s
  • 11
  • 3
0
votes
1 answer

MobileBardodeScanner fails to scan QRCode untill restarted after giving Camera Permissions

I'm trying to scan a QR Code from my Xamarin.Forms application but the QR Code isn't getting detected until i restart the scanner. I'm using ZXing.Net.Mobile.Forms. Once the ScannerPage has been pushed on the navigation stack it requests the camera…
0
votes
1 answer

Curious if Barcode photo taken can be used in Xamarin Emulator

I have created a barcode scanner; That works fine. I am using Xamarin Forms and working with Android. I had recently received some barcode samples in photo format, however the photo's are not being recognized when I print them out and scan them.…
0
votes
0 answers

Trying to make a Zxing winforms sample decode more formats including code_39

I'm trying to work with winforms c# samples, as eventually this is going in an existing winforms app. I found a nice small example for taking input from a video camera and getting a barcode and then decoding it. Works great... but it doesn't decode…
Eric Brown - Cal
  • 14,135
  • 12
  • 58
  • 97
0
votes
1 answer

How can we generate/encode barcode image without border using zxing library in .net code?

How to generate barcode image without border using zxing library.So how to generate it without the border property in .net code?
Praveen Kumar
  • 1,576
  • 8
  • 31
  • 47
0
votes
1 answer

ZXing Xamarin forms white background on IOS

We have a problem with the ZXing Barcodescanner for Xamarin.Forms. The scanner works perfectly on Android, but on IOS I can't see the camera image (preview). The scanner does scan barcodes on IOS if I hold them in front of the camera but the camera…
mitti2000
  • 85
  • 1
  • 1
  • 7
0
votes
0 answers

ZXing.net: How to access raw bytes (and overcome problem of embedded nulls)?

When trying to read a PDF417 barcode that contains embedded NULL characters: // load image and convert to bitmap Bitmap bmp = new Bitmap(Image.FromFile(@"C:\Sample.png")); IBarcodeReader reader = new BarcodeReader(); ZXing.Result result =…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
0
votes
1 answer

Mirroring in image vertical from a byte array

I want to create a DataMatrix decoder in C#. I'm using the ZXing.NET libary for this. I already coded a QR decoder with ZXing, but somehow for the DataMatrix decoder i need to mirror the picture to get it successful decoded. So i have in image…
doome161
  • 57
  • 5
0
votes
1 answer

Zxing.Net in Xamarin.Forms won't return result on Android

I have a Xamarin.Forms app using the Zxing.Net barcode scanner and it runs fine in UWP but for some reason it will never return a result when I run it on an Android.
Post Impatica
  • 14,999
  • 9
  • 67
  • 78
0
votes
1 answer

How to set the result text in EditText from "zXingScannerView" with result.getText()?

I've been working with zXingScannerView and I went to set the result text in my Edittext in the same Activity but it does not work!! Note:it shows in a Toast: Toasty.success(getApplicationContext(),"Code Scaned !…
Ali Ourag
  • 92
  • 7
0
votes
0 answers

Zxing decode Image taken by android camera throw NotFoundException

val mBitmap: Bitmap = BitmapFactory.decodeFile(compressedFile.path) val pixels = IntArray(mBitmap.width * mBitmap.height) mBitmap.getPixels(pixels, 0, mBitmap.width, 0, 0, mBitmap.width,mBitmap.height) val rawResult: Result try { …
0
votes
0 answers

ZXing.Net UWP camera freeze

I've used source code from ZXing.Mobile.Net from https://github.com/Redth/ZXing.Net.Mobile for UWP. I have issue with camere freeze. Sometimes it works without issue, but sometimes when camera start, preview showing some anomaly with random pixels,…
0
votes
1 answer

Why I can't ILMerge Zxing?

Trying to ILMerge project that contains Zxing.NET package: "C:\Program Files (x86)\Microsoft\ILMerge\ILMerge.exe" CommandLineDecoder.exe zxing.dll zxing.presentation.dll /out:CommandLineDecoder2.exe Got error: An exception occurred during…
vico
  • 17,051
  • 45
  • 159
  • 315
0
votes
1 answer

ZXing.BarcodeReader code not decode barcode

This barcode: Will not decode. What is wrong with that image that it will not decode. string barcodePng = "tmp.png"; reader = new BarcodeReader(); reader.Options.PossibleFormats = new…
Be Kind To New Users
  • 9,672
  • 13
  • 78
  • 125
0
votes
1 answer

Xamarin Forms (Prism) with ZXing BarcodeImageView crashing when navigating back

My application crashes System.ObjectDisposedException: Cannot access a disposed object. Object name: 'Android.Widget.ImageView'. when I navigate back from a view containing ZXing BarcodeImageView together with a label with IsVisible="{Binding…