A tool to make a PILfont from png images
Project description
pil-font-maker
Extract a png image for each character in a PIL ImageFont and store them in a folder. Contruct a PIL ImageFont from a folder containing a png image for each character.
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 upto char_255.png Omitted pngs will result in empty characters.
pil-font-download
Usage: pil-font-download
Download some sample pil fonts from the pillow github repository
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pil-font-maker-0.9.6.tar.gz
.
File metadata
- Download URL: pil-font-maker-0.9.6.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8508b64a479824efffd87e2bc5211be667920cb7c7fd071813a00c76bdc11a15 |
|
MD5 | 9f5a37308277746d100d59b8e12d8d2e |
|
BLAKE2b-256 | a90d589c5a347c95840385dd3ccf2d9f446ed384e3986905bdcc017694c2979a |
File details
Details for the file pil_font_maker-0.9.6-py3-none-any.whl
.
File metadata
- Download URL: pil_font_maker-0.9.6-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aae369c13f4a3c03baab8febb05fc6223b57d6267e8c084b154df7c4a2b13173 |
|
MD5 | 56b0009e4e162207d578bfa31fe90741 |
|
BLAKE2b-256 | 465a684ca5b352a392b8d66ba2f9cc5d3c0352b713a142c5b1df82edc4485a5b |