Questions tagged [zxing]

ZXing (pronounced "zebra crossing") is an open-source, multi-format 1D/2D barcode image processing library implemented in Java, with ports to other languages. Its focus is on using the built-in camera on mobile phones to scan and decode barcodes on the device, without communicating with a server, though the library also supports use on a server.

Questions with this tag concern the open-source barcode encoding and decoding library ZXing.

2561 questions
17
votes
5 answers

ZXing barcode scanner in custom layout in fragment

I develope ZXing barcode continuous scanner following this page on Android Studio. My App build.gradle had include: repositories { mavenCentral() maven { url…
Neo
  • 1,469
  • 3
  • 23
  • 40
17
votes
4 answers

With Zxing retiring for iOS, which barcode-scanner to switch to?

I have implemented ZXing to my iOS-app, however I am questioning it's maintainability as not long ago it was announced that ZXing to iOS is retiring: Retiring C++, Objective C code I've also read that there might be compatibility issues with the…
user1354603
  • 4,034
  • 4
  • 31
  • 43
17
votes
3 answers

Reading QRCode with Zxing in Java

Some questions about using Zxing... I write the following code to read barcode from an image: public class BarCodeDecode { /** * @param args */ public static void main(String[] args) { try { String…
Johnny
  • 633
  • 3
  • 9
  • 21
16
votes
4 answers

Xcode 4.6 zXing compile error after Xcode update (4H127)

Different projects using ZXing have error after last Xcode update: Error messages are: private field 'cached_y_' is not used Private field 'bits_' is not used Private field 'cached_row_num_' is not used Private field 'dataHeight_' is not used Any…
Fulkron
  • 1,013
  • 2
  • 14
  • 22
16
votes
9 answers

com.google.zxing.NotFoundException exception comes when core java program executed?

I have a jpeg file which has 2D bar code. Image resolution is 1593X1212. I am using xing library to decode this barcode from image. I got following code on net. import java.awt.image.BufferedImage; import java.io.File; import…
Param-Ganak
  • 5,787
  • 17
  • 50
  • 62
15
votes
3 answers

How to use Zxing in android

I am new to Zxing. I am doing barcode conversion using zxing in my android application. Can anyone guide me how to include zxing to android device.
RAAAAM
  • 3,378
  • 19
  • 59
  • 108
15
votes
2 answers

google.zxing barcode generator in iReport

I want put a barcode in my page and can preview it. The barcode generator is google.zxing and my reporting tool is iReport. But i dont know, how to configure Image Expression and Expression Class of an image in iReport.
masoud
  • 55,379
  • 16
  • 141
  • 208
15
votes
4 answers

Android - QR generator API

I'm trying to generate some QR from my app, but I've seen there's a lot of types of QR like contact, Wi-Fi, etc.. And I'm wondering if there's a free API or library to implement this, I've seen that there's websites that are already generating it so…
StuartDTO
  • 783
  • 7
  • 26
  • 72
15
votes
3 answers

Find QR code in image and decode it using Zxing

First of all, I read through all those topics how to use Zxing in Java but always got errors with missing com.google.zxing.client.j2se.* (I loaded the zxing core-3.2.1.jar in eclipse and all other zxing packages work unless j2se) or just found…
user3646022
15
votes
1 answer

Android: Generated QR code using Zxing has margins (is not fit to the area)

I'm using in my app ZXing library for generating QR code. I want to generated QR code that should fits to the width of the screen (maybe some small padding). If I set width of the screen as width size of QR code I get smaller QR code. Look at the…
Pepa Zapletal
  • 2,879
  • 3
  • 39
  • 69
15
votes
5 answers

How to import ZXING to android studio?

I use android studio I want to import 'ZXING' in my application, I find many articles and found the following site https://github.com/zxing/zxing/ I downloaded the ZIP and unzip, and find some tutorials But it does not seem to be too detailed about…
AM031447
  • 475
  • 1
  • 8
  • 21
15
votes
5 answers

Android Generate QR code and Barcode using Zxing

Code to generate Qr code using zxing is --- It takes string data and the imageview This works just fine private void generateQRCode_general(String data, ImageView img)throws WriterException { com.google.zxing.Writer writer = new…
Ciff
  • 596
  • 3
  • 8
  • 22
15
votes
5 answers

Create QR-Code in vector image

I can successfully create QR Code PNG images with ZXing but there is no easy way to get the output as SVG or EPS. How can I create a vector image from the BitMatrix object that is created by the QRCodeWriter?
Micha Roon
  • 3,957
  • 2
  • 30
  • 48
14
votes
4 answers

How to generate QR code with logo inside it?

I am developing the application for Android devices. I want to generate QR code with logo inside it. With ZXing I know how to generate simple QR codes like this one: But I want to generate QR code with logo inside it. So I want to get something…
Huitarheroherohero
  • 315
  • 1
  • 4
  • 11
14
votes
1 answer

QR code scan from image file

Tried to use several libraries like ZXing, ZBar and their forks but didn't find way to scan barcode not from camera but from file. Can someone point me to right direction? Preferably I'm looking into ZXing: how to scan image from file (not from…
Barmaley
  • 16,638
  • 18
  • 73
  • 146