šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

pdf-417

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pdf-417

0.9.5
Rubygems
Version published
Maintainers
1
Created
Source

pdf-417

pdf-417 is a Ruby gem that allows the creation of simple PDF417 barcodes. Using this gem, you can easily generate PNG images of simple PDF417 barcodes.

Usage

Simply call the class method PDF417.to_png(file, text). Methods also exist to deal with the object directly.

Example

require 'pdf-417'

PDF417.to_png("sample.png", "This is my PDF417 barcode!")

Result

The above example produces:

Sample PDF417 barcode

Inspiration

  • https://github.com/bkuzmic/pdf417-js
  • http://www.tcpdf.org/

License

This software is licensed under terms of the MIT License.

FAQs

Package last updated on 26 Oct 2017

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