Drivers License Barcode Generator Github
- Driver License Barcode Data Generator
- Cached
- Pdf417-php- A PHP Implementation
- Driver's License Barcode Data
BarCode Generator SDK - all-in-one solution for your barcodes generation needs. Barcode Label Workshop Enterprise 6.0. These parameters allow you to select and output a subset of data elements from a USA Driver License PDF417 barcode. The data output order can be configured, together with a string. Demonstration - PDF417. Capable of containing large amounts of data in a variety of characters. Used mainly for identification cards, inventory, and transport. Dimensions of this barcode can be set; also contains a truncated version. 30 character limit for this demo.
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 |
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
Driver License Barcode Data Generator
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.
Auto Numeric Compaction Mode
This mode can pack almost 3 digits (2.93) info a symbol character.The words with length less 13 symbols will be invoked as Text
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
- Specifications - USS-PDF-417
Cached
Release historyRelease notifications | RSS feed
0.8.1
0.8.0
0.7.2
0.7.1
0.7.0
Pdf417-php- A PHP Implementation
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size pdf417-0.8.1-py2.py3-none-any.whl (23.7 kB) | File type Wheel | Python version py2.py3 | Upload date | Hashes |
Filename, size pdf417-0.8.1.tar.gz (24.0 kB) | File type Source | Python version None | Upload date | Hashes |
Hashes for pdf417-0.8.1-py2.py3-none-any.whl
Algorithm | Hash digest |
---|---|
SHA256 | 7d29114a87e19454a3e0e10aeb2297db46429e4ac7fb92671f6632455f0f76d3 |
MD5 | 10136bbcb1cf57f8ee1b0c1f6f8f78f5 |
BLAKE2-256 | 33190c89e3264ecba4733fa5f5bc6bf4abe332512c60de59d622f7c2359e1cd6 |
Hashes for pdf417-0.8.1.tar.gz
Driver's License Barcode Data
Algorithm | Hash digest |
---|---|
SHA256 | 2d75d5f6e3c1e89bb5cf2b01ddb1c69dd0db1f3dfeb403dab8745e64f95b3758 |
MD5 | ca195d8e85dfb2258cc2ef09d89350c3 |
BLAKE2-256 | e81e13b568b43e610b462613b83ff55f938d1520f799c31ac0d2c01b3089c61e |