QR Code Image Sample - pqScan.com
Java Barcode Scanner SDK Perfect Quality Barcode Reading and Scanning Library for Java Download Trial Purchase Now

How to Scan Barcode in Java

back to home  >  Java Barcode Scanner SDK  >  How to Read Barcodes in Java

pqScan Java Barcode Scanner is a professional Java SDK that reads and recognizes barcodes from image files such as BMP, PNG, JPEG, TIFF, GIF and Java AWT objects. Image source can be loaded from image stream and local image file. By integrating this superior barcode reading component into your Java application, highly accurate and fast linear and 2d bar codes recognition from image file can be implemented.

pqScan Java Barcode Scanner Library will always read image file source from 4 different directions and decode barcodes detected. Simply speaking, you can use mature APIs to read only one barcode type from loaded image or recognize all barcode types from it. At most of the time, Java barcode image scanning component detects barcode symbol very fast and decodes it accurately. It will return barcode type and data information for each decoded 1D and 2D barcode. Certainly, it may take a little more time to read barcode in large image file.

Supported Functions

  • Support reading popular 2D barcodes in Java: QR Code, Aztec Code, PDF417 and Data Matrix.
  • Support decoding popular 1D (linear) barcodes in Java: Codabar, Code 128, Code 39, Code 93, EAN-13, EAN-8, UPC-A, UPC-E, and ITF-14.
  • Support scanning barcodes from most commonly used raster image formats (BMP, TIF/TIFF, JPG/JPEG, PNG, and GIF).
  • Support recognizing multi-barcodes from one image file source.
  • Support detecting and reading multi-type barcodes at one time.
  • Support JDK 1.7 and above versions.
  • Support all Java applications.

Robust APIs

pqScan Java Barcode Scanner Control provides flexible methods to help programmers read and decode barcode fonts from images in Java programming class. Now, we will introduce you all these robust barcode scanning APIs.

// Detect and read all barcodes from image source on local disk.
public static BarcodeResult[] Scan(String filename);
// Scan and recognize all barcodes from buffered image object.
public static BarcodeResult[] Scan(BufferedImage image);
// Scan and decode all barcodes from input stream object.
public static BarcodeResult[] Scan(InputStream imageStream);
// Detect and scan one barcode symbol from local image file.
public static BarcodeResult[] Scan(String filename, BarCodeType barType);
// Decode and recognize one barcode symbol from buffered image object.
public static BarcodeResult[] Scan(BufferedImage image, BarCodeType barType);
// Read and scan one barcode symbol from input stream object.
public static BarcodeResult[] Scan(InputStream imageStream, BarCodeType barType);
pqScan SDK
Barcode Reader Library for Java
Online Guide
Java Guide: How to Scan Barcode
Barcode Type
How to Scan QR Code in Java How to Scan Data Matrix in Java How to Scan PDF-417 in Java How to Scan Aztec Code in Java How to Scan EAN-13 in Java How to Scan EAN-8 in Java How to Scan UPC-A in Java How to Scan UPC-E in Java How to Scan Code 128 in Java How to Scan Code 39 in Java How to Scan Code 93 in Java How to Scan Codabar in Java How to Scan ITF-14 in Java View All Barcodes >>
We have been using pqScan SDK for one year. Really impressed by its accuracy and speed. It helps us to reduce development time significantly. Money well spent! Kimberly Levy