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
9
votes
1 answer

Xamarin Forms, ZXingBarcodeImageView is blurry

(Related) I have found here, here, and here are questions describing a related problem of ZXingBarcodeImageView rendering a blurry QR code in Xamarin Forms - but they have not lead to a solution for my problem. The Problem I am using ZXing to draw…
Oscar Chambers
  • 899
  • 9
  • 25
8
votes
4 answers

ZXing QrCode renderer exception with .Net Core 2.1

I would like to create a QR code with using ZXing(0.16.4) But I meet following exception, System.InvalidOperationException: 'You have to set a renderer instance.' Almost the same code works well with .Net Framework 4.6.1 here is my code static…
arslanaybars
  • 1,813
  • 2
  • 24
  • 29
6
votes
1 answer

How to create barcode image with ZXing.Net and ImageSharp in .Net Core 2.0

I'm trying to generate a barcode image. When I use the following code I can create a base64 string but it's giving a blank image. I checked the content is not blank or white space. There are codes using CoreCompat.System.Drawing but I couldn't make…
ilker unal
  • 502
  • 1
  • 6
  • 15
6
votes
0 answers

Zxing.Net.Mobile Forms and MVVM Xaml Not Scanning

New to Xamarin development! Using Visual Studio 2017 and all the latest installs and updates for my dev environment. I have my app "shell" working in that it will run, navigate, crud to local db, and sync to rest services. So, the base of my app…
BTI-Doug
  • 455
  • 1
  • 6
  • 17
4
votes
2 answers

C# - Using ZXing.Net to Decode png QR Code

I am using the ZXing.Net library(0.16.4) to encode and decode a QR Code. I got the reference of how to decode the qr code from here: C# with ZXing.Net: Decoding the QR code Code: Bitmap image = (Bitmap)Bitmap.FromFile(@"file.png"); byte[] bytes =…
Praneet Nadkar
  • 823
  • 7
  • 16
4
votes
2 answers

Generate barcode with ZXing.net

I'm trying to generate a barcode using ZXing.NET for dot net core asp.net application. I can't figure out how to display text with the barcode and documentation seems to be really, really lacking. Does anyone have an idea how to make it work? This…
Evgeni
  • 3,341
  • 7
  • 37
  • 64
4
votes
0 answers

ZXing Barcode scanning(code128 format) is not working in Xamarin Forms

We using the ZXING library to scan the barcodes for xamarin forms app and its working fine. But now are having issue with barcode - code128 format as its not scanning the bar codes (content length - 19 char ). Attached barcode for reference. We…
Kathir
  • 137
  • 3
  • 19
3
votes
1 answer

How to properly set options for ZXingScannerView?

I use Zxing.Net.Mobile in my Xamarin Forms project. I call ZXingScannerView to the page but scanner options seems to be not working. I set specific type of barcode to scan but it sill scans everything in focus. I call scannerview at page.xaml: …
Pavel Polushin
  • 351
  • 2
  • 5
  • 16
3
votes
1 answer

How to pass a method of xamarin.android specific functionnality to a xamarin.forms using DependencyService and a delegate of Interface?

I am using the following resource https://msicc.net/how-to-avoid-a-distorted-android-camera-preview-with-zxing-net-mobile/ to solve resoultion destortion of zxing barcode scanner. I arrived at the point where the method…
3
votes
0 answers

ZXing.Mobile.Forms Crashing with UNHANDED EXCEPTION

I am using the ZXing.Mobile.Forms Scanning Libary and I am getting the following error The strange thing is its works for scans in a row but on the fourth scan it boms out 09-28 15:37:59.887 E/mono-rt ( 8983): [ERROR] FATAL UNHANDLED EXCEPTION:…
c-sharp-and-swiftui-devni
  • 3,743
  • 4
  • 39
  • 100
3
votes
1 answer

Xamarin forms - Realm accessed from incorrect thread

Maybe I'm missing something really simple out here but gonna ask anyways..... I am using Xamarin forms (.NET Standard project), MVVMLight, Realm DB and ZXing Barcode Scanner. I have a realmobject like so... public class Participant : RealmObject { …
Noel
  • 373
  • 3
  • 15
3
votes
0 answers

Scan QR Code in Unity using ZXing and AR Core

I'm trying to scan a QR code in Unity using the libraries ZXing and AR Core. Currenty I tried the following: private void _OnImageAvailable(TextureReaderApi.ImageFormatType format, int width, int height, IntPtr pixelBuffer, int bufferSize) { //…
Maxim
  • 3,836
  • 6
  • 42
  • 64
3
votes
1 answer

ZXing view with FreshMVVM not triggering OnScanResult

Resoution TL;DR : https://gist.github.com/rupe120/78f8a57f0ed7ecacbdc13fa2da8d931a I created my own scan page, converting the built-in ZXingScannerPage code…
Josh Russo
  • 3,080
  • 2
  • 41
  • 62
2
votes
1 answer

C# - Using ZXing.Net to Create and download SVG QR Code

I am working on a QR Code project and one of the requirements is to be able to download the generated QR Code in SVG format. I was able to display the generated QR Code in PNG format, but I have been trying to download it in SVG format. I am using…
2
votes
0 answers

How to generate QR code with text below it

I am making QR code generator in windows forms and I want to draw a string under the generated QR code and save the picture in a folder. This is my code for now using (SaveFileDialog sfd = new SaveFileDialog() { Filter = "JPEG|*.jpg", ValidateNames…
1
2 3
9 10