Dear customers,We've released Aspose.BarCode for Java 1.1.0!
Aspose.BarCode for Java is a set of easy-to-use library providing complete barcode solutions for java applications and web applications. Features include generation and recognition of more than 20 types of barcodes.
Aspose.BarCode for Java is the equivalent component of Aspose.BarCode for .Net.
Hightlights:
- BarCode generation
- BarCode recognition
- Servlet support, web rendering barcode
- Various image format
- JDK 1.5 or above
supported barcode symbologies:One dimentional:
- CODABAR [Encode, Decode]
- CODE11 [Encode, Decode]
- CODE128 [Encode, Decode]
- CODE39 [Encode, Decode]
- CODE93 [Encode, Decode]
- EAN128 [Encode, Decode]
- EAN13 [Encode, Decode]
- EAN14 [Encode, Decode]
- EAN8 [Encode, Decode]
- BOOKLANDEAN [Encode, Decode]
- MSI [Encode]
- ITF14 [Encode, Decode]
- INTERLEAVED2OF5 [Encode, Decode]
- PLANET [Encode, Decode]
- POSTNET [Encode, Decode]
- UPCA [Encode, Decode]
- SSCC18 [Encode, Decode]
Two dimentional:
- QR [Encode, Decode]
- PDF417 [Encode, Decode]
- DATAMATRIX [Encode, Decode]
- AZTEC [Encode]
Sample code:
public void paint(Graphics g)
{
try
{
Image img = this.getToolkit().getImage("c:\\test.jpg");
BarCodeReader reader = new BarCodeReader(img);
BarCodeInfo[] results = null;
results = reader.read();
if(results.length > 0)
{
g.drawString("barcode found:" + results[0].getCodeText(), 10, 10);
}
else
{
g.drawString("barcode not found", 10, 10);
}
} catch (Exception ex)
{
ex.printStackTrace();
}
}Demos:A demo program is included in this release, use command line to run the demo:
java -jar Demo.jar
Screen shots of the demo program: