Latest version
- Online Pdf417 Barcode Generator
- Online Aamva Pdf417 Barcode Generator
- Aamva Pdf417 Barcode Generator Software
PDF-417 Generator Software generate & create PDF-417 barcode images on Windows system. Download free evaluation package Easy to use on Windows 7, Vista, and XP.
Released:
- Todas luzes de advertncia devem estar listadas pela AAMVA - American Association of Motor Vehicle Administrators (Associao Norte-Americana dos.
- PDF-417 Generator Software generate & create PDF-417 barcode images on Windows system. Download free evaluation package Easy to use on Windows 7, Vista, and XP.
- Pdf417 barcode 2D barcode in backside drivers license. Aamva versionhttps://pdf417maker.blogspot.com/.
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.
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
Release historyRelease notifications | RSS feed
0.8.1
Online Pdf417 Barcode Generator
0.8.0
0.7.2
0.7.1
0.7.0
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 |
Online Aamva Pdf417 Barcode Generator
Hashes for pdf417-0.8.1-py2.py3-none-any.whl
Aamva Pdf417 Barcode Generator Software
Algorithm | Hash digest |
---|---|
SHA256 | 7d29114a87e19454a3e0e10aeb2297db46429e4ac7fb92671f6632455f0f76d3 |
MD5 | 10136bbcb1cf57f8ee1b0c1f6f8f78f5 |
BLAKE2-256 | 33190c89e3264ecba4733fa5f5bc6bf4abe332512c60de59d622f7c2359e1cd6 |
Hashes for pdf417-0.8.1.tar.gz
Algorithm | Hash digest |
---|---|
SHA256 | 2d75d5f6e3c1e89bb5cf2b01ddb1c69dd0db1f3dfeb403dab8745e64f95b3758 |
MD5 | ca195d8e85dfb2258cc2ef09d89350c3 |
BLAKE2-256 | e81e13b568b43e610b462613b83ff55f938d1520f799c31ac0d2c01b3089c61e |