Skip to content

inzapp/barcode-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Barcode Generator

Simple barcode image generator using google zxing

Download

https://github.com/inzapp/barcode-generator/releases

Usage

BarcodeGenerator barcodeGenerator = new BarcodeGenerator();
String barcodeFilePath = barcodeGenerator.generate("barcode-content");

Set base path of image

BarcodeGenerator barcodeGenerator = new BarcodeGenerator();
barcodeGenerator.setBasePath("image/barcode/tmp");
String barcodeFilePath = barcodeGenerator.generate("barcode-content");

Set base path simply

BarcodeGenerator barcodeGenerator = new BarcodeGenerator();
String barcodeFilePath = barcodeGenerator.generate("barcode-content", "image/barcode/tmp");