Create pdf417 barcode without using images.
Project description
Create pdf417 barcode without using images.
Python version |
3.3+ |
License |
LGPLv3 |
PyPI |
How it works
Install font pdf417.ttf into your OS.
Encode your data string into special encoded strings.
pdf417_encoded_text = pdf417as_str.encode('https://github.com')
Paste encoded text into any text editor and choose “Code PDF417” font. You will receive pdf417 barcode.
NOTE: With some font sizes there will be empty space between rows. It will not affect to reading barcode, but you can find suited size anyway.
Actually you can make png barcode, using pdf417as_str.convert.to_png, but this function not efficient.
Installation
$ pip install pdf417as_str
Thanks to
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pdf417as_str-0.4.1.tar.gz
(20.9 kB
view details)
File details
Details for the file pdf417as_str-0.4.1.tar.gz
.
File metadata
- Download URL: pdf417as_str-0.4.1.tar.gz
- Upload date:
- Size: 20.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f2437d738c3eb25f2adfcc8a8bb3a3daa7a63fc009d419e686eb3c3123e4f99 |
|
MD5 | aea399567994c8abe6a88dbbdf0036e2 |
|
BLAKE2b-256 | 475ae8e89f59cbb9c500a1f4927816315e804b40f01e62b79802303c9a9a2486 |