pil-font-maker
Extract a PNG image for each character in a PIL ImageFont and store them in a folder. Construct a PIL ImageFont from a folder containing a PNG image for each character.
This is my answer to how-to-use-my-own-bitmap-font-in-pil-imagefont
Installation
python -m pip install pil-font-maker
Supported Commands
On a command line type:
pil-font-decode
Usage: pil-font-decode <file.pil> [folder]
To convert a .pil/.pbm ImageFont to a folder containing a .png for each character present
pil-font-encode
Usage: pil-font-encode <folder> [file.pil]
Convert a folder containing a .png for each character to a .pil/.pbm ImageFont. The PNGs should be named char_0.png, char_1.png up to char_255.png Omitted PNGs will result in empty characters.
pil-font-download
Usage: pil-font-download
Download some sample PIL ImageFonts from the pillow GitHub repository
Metadata
Release files for pil-font-maker 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pil_font_maker-1.0.0.tar.gz | 9.2 kB | Without provenance | Details for pil_font_maker-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pil_font_maker-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for pil_font_maker-1.0.0-py3-none-any.whl |
Total release size: 17.1 kB
Release files / pil_font_maker-1.0.0.tar.gz
| Download URL | pil_font_maker-1.0.0.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c61f918764a70bae83f32c47a07259b57746b3e0d122b7a7bd731f43ff331b5b
|
|
BLAKE2b-256 checksum How to use checksums |
56b7e4625953af724381ff1856e9ac0f2deef8e983ad849f5b25729bd2a0e6f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.18
|
Release files / pil_font_maker-1.0.0-py3-none-any.whl
| Download URL | pil_font_maker-1.0.0-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9d84f5cf09897af72bcb0f5b5960f0460ce528100f82527737d549a6596110a2
|
|
BLAKE2b-256 checksum How to use checksums |
046cbdfc4aa58f64455962f8a3a6073c080d86d561e53f0bdaf061455e116d5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.18
|
Security for pil-font-maker 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.