
Product
Introducing Historical Analytics – Now in Beta
We’re excited to announce a powerful new capability in Socket: historical data and enhanced analytics.
com.pnuema.java:barcode
Advanced tools
This library was designed to give an easy class for developers to use when they need to generate barcode images from a string of data.
Supported | Symbology | List |
---|---|---|
Code 128 | Code 93 | Code 39 (Extended / Full ASCII) |
Code11 | EAN-8 | FIM (Facing Identification Mark) |
UPC-A | UPC-E | Pharmacode |
MSI | PostNet | Standard 2 of 5 |
ISBN | Codabar | Interleaved 2 of 5 |
ITF-14 | Telepen | UPC Supplemental 2 |
JAN-13 | EAN-13 | UPC Supplemental 5 |
The jar is available in Maven Central and can be included via gradle:
implementation 'com.pnuema.java:barcode:2.6.3'
Then use the library to generate a barcode via:
Barcode barcode = new Barcode();
Image img = barcode.encode(BarcodeLib.TYPE.UPCA, "038000356216");
You can specify the width, height, foreground color, background color, and whether to include the label to display the data that's encoded with the image.
If you find this or any of my software useful and decide its worth supporting. You can do so here:
Copyright 2018-2024 Brad Barnhill. Code released under the MIT License.
FAQs
Barcode image generation library in Java
We found that com.pnuema.java:barcode demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
We’re excited to announce a powerful new capability in Socket: historical data and enhanced analytics.
Product
Module Reachability filters out unreachable CVEs so you can focus on vulnerabilities that actually matter to your application.
Company News
Socket is bringing best-in-class reachability analysis into the platform — cutting false positives, accelerating triage, and cementing our place as the leader in software supply chain security.