Socket
Socket
Sign inDemoInstall

com.pnuema.java:barcode

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

com.pnuema.java:barcode

Barcode image generation library in Java


Version published
Maintainers
1
Source

barcode-java barcode-java CI

Overview

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.

SupportedSymbologyList
Code 128Code 93Code 39 (Extended / Full ASCII)
Code11EAN-8FIM (Facing Identification Mark)
UPC-AUPC-EPharmacode
MSIPostNetStandard 2 of 5
ISBNCodabarInterleaved 2 of 5
ITF-14TelepenUPC Supplemental 2
JAN-13EAN-13UPC Supplemental 5

Usage

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");

upca

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.

Support

If you find this or any of my software useful and decide its worth supporting. You can do so here: Donate

Copyright 2018-2024 Brad Barnhill. Code released under the MIT License.

FAQs

Package last updated on 17 Aug 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc