Drivers License Barcode Generator Github

  • Jan 1, 2020 - pdf417 barcode generator for drivers license.
  • Whether you are looking for a simple barcode label application or for a full-feature warehouse inventory control solution, we can build a custom solution for you. Shop our barcode software, inventory software, POS Software, device management software and security system software.

This free online barcode generator creates all 1D and 2D barcodes. With TEC-IT Barcode Software you generate barcodes as part of applications or web-sites. Available as Barcode ActiveX, Barcode.NET Web Forms Control, Barcode DLL. Contribute to zeo763k/drivers-license-barcode-generator development by creating an account on GitHub.

Latest version

Released:

PDF417 2D barcode generator for Python

Project description

Easily encode your data into a 2D barcode using the PDF417 format.

Licensed under the MIT License, see LICENSE.

CLI

The pdf417gen command can be used to generate a barcode from commandline. Ittakes the input either as an argument or from stdin.

Usage

Creating bar codes is done in two steps:

  • Encode a string to a list of code words using encode()
  • Render the barcode using one of the rendering functions: render_image(),render_svg().

Usage overview:

Supports strings (unicode in py2) and byte arrays (str in py2):

Encoding data

The first step is to encode your data to a list of code words.

Columns

The bar code size can be customized by defining the number of columns used torender the data, between 1 and 30, the default value is 6. A bar code can have amaximum of 90 rows, so for larger data sets you may need to increase the numberof columns to decrease the rows count.

Security level

Increasing the security level will produce stronger (and more numerous) errorcorrection codes, making the bar code larger, but less prone to corruption. Thesecurity level can range from 0 to 8, and procuces 2^(level+1) errorcorrection code words, meaning level 0 produces 2 code words and level 8produces 512. The default security level is 2.

Render image

The render_image function takes the following options:

  • scale - module width, in pixels (default: 3)
  • ratio - module height to width ratio (default: 3)
  • padding - image padding, in pixels (default: 20)
  • fg_color - foreground color (default: #000000)
  • bg_color - background color (default: #FFFFFF)

Note

A module is the smallest element of a barcode, analogous to a pixel. Modulesin a PDF417 bar code are tall and narrow.

The function returns a Pillow Image object containing the barcode.

Colors can be specified as hex codes or using HTML color names.

Render SVG

The render_svg function takes the following options:

  • scale - module width, in pixels (default: 3)
  • ratio - module height to width ratio (default: 3)
  • padding - image padding, in pixels (default: 20)
  • color - foreground color (default: #000000)

The function returns a ElementTree object containing the barcode in SVG format.

Unlike render_image, this function does not take a background color option.The background is left transparent.

See also

  • pdf417-php - a PHP implementation
  • golang-pdf417 - a Go implementation

Driver License Barcode Data Generator

Release historyRelease notifications | RSS feed

Drivers License Barcode Generator Github Download

0.7.1

0.7.0

0.6.0

0.5.0

0.3.0

0.2.0

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pdf417gen, version 0.7.1
Filename, sizeFile typePython versionUpload dateHashes
Filename, size pdf417gen-0.7.1-py2.py3-none-any.whl (24.5 kB) File type Wheel Python version py2.py3 Upload dateHashes
Filename, size pdf417gen-0.7.1.tar.gz (23.8 kB) File type Source Python version None Upload dateHashes
CloseDrivers License Barcode Generator Github

Hashes for pdf417gen-0.7.1-py2.py3-none-any.whl

Hashes for pdf417gen-0.7.1-py2.py3-none-any.whl
AlgorithmHash digest
SHA256cfa42a01216125872de3839ed90e296e3566b2e3bab0272b38050a733516c190
MD58a2baa254e8c9c3cc34e3979d764f83a
BLAKE2-256acb3e35450f112298d7fed5a73afbf779068e8c3f7f9d9b75620d463d88dda77
Close

Hashes for pdf417gen-0.7.1.tar.gz

Hashes for pdf417gen-0.7.1.tar.gz
AlgorithmHash digest
SHA256bba39ee0c39a8b6433b19e8e6fd21f93c6d6a895633c1a86bcb71bad7e89db64
MD53888a94267c60f7e15404f74e30f7b84
BLAKE2-256d19903784fb4d8e35d3efa231fb8ba35cdcb10aae02eb7c2f70687da92a4052f
Created Feb 21, 2014
gistfile1.txt
OS name: Android
OS version: 4.1.2
Device name: arubaslim
Model: GT-I8262
Manufacturer: samsung
High quality: 0
Number of processors: 2
Max CPU frequency: 1209 MHz
NEON supported: 1
Native library build info:
Initialized successfully: true
Build version: v2.3.1-3-ge006b60
Available OCR engines: no OCR engine used
Austrian slip scanning: not supported
Austrian QR code scanning: not supported
Belgian slip scanning: not supported
Croatian slip scanning: not supported
Croatian PDF417 barcode scanning: not supported
Dutch slip scanning: not supported
German slip scanning: not supported
German QR code scanning: not supported
Hungarian slip scanning: not supported
Slovenian slip scanning: not supported
PhotoBull QR code scanning: not supported
Serbian bill scanning: not supported
OCR only scanning: not supported
PDF417 barcode scanning: supported
US driver's license scanning: not supported
ZXing barcode scanners: supported
License information:
Owning package: free.license
No enabled rights!
License is valid until: 2038-01-19 08-44-07

Driver's License Barcode Data

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment