imfont Tool 🎨
Convert images to C++ arrays with ease! This tool helps you generate C++ code for embedding images in your projects.
Installation
To install the imfont tool, you can use pip:
pip install imfont
Usage
CLI Usage
imfont -f <filename> -o <output_name>
imfont -i -f <image_folder> -o <output_file>
Options
-f, --file <filename>: Input file for the imfont tool-o, --output <output_name>: Output name for the imfont tool-i, --image: Use image to C++ array tool-h, --help: Show help message
Example
imfont -f /path/to/font.ttf -o output.h
Interactive Mode
Run the script without any arguments to enter interactive mode:
python main.py
Follow the prompts to select compression options and specify input/output paths.
Credits
Made with ❤️ by HK4CRPRASAD
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for imfont 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| imfont-0.0.5.tar.gz | 26.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| imfont-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 52.1 kB
Release files / imfont-0.0.5.tar.gz
| Download URL | imfont-0.0.5.tar.gz |
|---|---|
| Size | 26.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c702d2fb1f44cc90b41d1392387ca32cb31350139768b7bfe485150d5bde7077
|
|
BLAKE2b-256 checksum How to use checksums |
b42b72d57a7a3d83851faf02b229b647a71bdbb9f356fcd761ae29603c627f5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.0
|
Release files / imfont-0.0.5-py3-none-any.whl
| Download URL | imfont-0.0.5-py3-none-any.whl |
|---|---|
| Size | 25.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
713d32db7e3ace45104714628aa4691e2052f15ad651cd04c85fd446544323e1
|
|
BLAKE2b-256 checksum How to use checksums |
333ca04b88d63a49b59136522dd27f0b6be44072f66ee3fbeec3150f29c0df2e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.0
|