Name | imfont JSON |
Version |
0.0.5
JSON |
| download |
home_page | https://github.com/hk4crprasad/imfont |
Summary | Imfont: a versatile Python tool for converting fonts and images into C++ arrays. Generate compact code for embedded systems or ImGui applications with rich console features. Simplify graphic resource integration. Created by HK4CRPRASAD. #Python #EmbeddedSystems #Imfont |
upload_time | 2023-12-03 03:18:12 |
maintainer | |
docs_url | None |
author | HK4CRPRASAD |
requires_python | >=3.6 |
license | GPL-3.0 |
keywords |
font
img
cpp
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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:
```bash
pip install imfont
```
## Usage
### CLI Usage
```bash
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
```bash
imfont -f /path/to/font.ttf -o output.h
```
<p align="center">
[![PIROOP](https://raw.githubusercontent.com/hk4crprasad/imfont/master/IMFONT.svg)](https://github.com/hk4crprasad/imfont)
### Interactive Mode
Run the script without any arguments to enter interactive mode:
```bash
python main.py
```
Follow the prompts to select compression options and specify input/output paths.
## Credits
Made with ❤️ by [HK4CRPRASAD](https://github.com/HK4CRPRASAD)
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
Raw data
{
"_id": null,
"home_page": "https://github.com/hk4crprasad/imfont",
"name": "imfont",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "font,img,cpp",
"author": "HK4CRPRASAD",
"author_email": "hotahara12@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/b4/2b/72d57a7a3d83851faf02b229b647a71bdbb9f356fcd761ae29603c627f5a/imfont-0.0.5.tar.gz",
"platform": null,
"description": "# imfont Tool \ud83c\udfa8\n\nConvert images to C++ arrays with ease! This tool helps you generate C++ code for embedding images in your projects.\n\n## Installation\n\nTo install the `imfont` tool, you can use pip:\n\n```bash\npip install imfont\n```\n\n## Usage\n\n### CLI Usage\n\n```bash\nimfont -f <filename> -o <output_name>\nimfont -i -f <image_folder> -o <output_file>\n```\n\n#### Options\n\n- `-f, --file <filename>`: Input file for the imfont tool\n- `-o, --output <output_name>`: Output name for the imfont tool\n- `-i, --image`: Use image to C++ array tool\n- `-h, --help`: Show help message\n\n### Example\n\n```bash\nimfont -f /path/to/font.ttf -o output.h\n```\n<p align=\"center\">\n \n [![PIROOP](https://raw.githubusercontent.com/hk4crprasad/imfont/master/IMFONT.svg)](https://github.com/hk4crprasad/imfont)\n### Interactive Mode\n\nRun the script without any arguments to enter interactive mode:\n\n```bash\npython main.py\n```\n\nFollow the prompts to select compression options and specify input/output paths.\n\n## Credits\n\nMade with \u2764\ufe0f by [HK4CRPRASAD](https://github.com/HK4CRPRASAD)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n",
"bugtrack_url": null,
"license": "GPL-3.0",
"summary": "Imfont: a versatile Python tool for converting fonts and images into C++ arrays. Generate compact code for embedded systems or ImGui applications with rich console features. Simplify graphic resource integration. Created by HK4CRPRASAD. #Python #EmbeddedSystems #Imfont",
"version": "0.0.5",
"project_urls": {
"Download": "https://github.com/hk4crprasad/imfont/archive/pypi.zip",
"Homepage": "https://github.com/hk4crprasad/imfont"
},
"split_keywords": [
"font",
"img",
"cpp"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "333ca04b88d63a49b59136522dd27f0b6be44072f66ee3fbeec3150f29c0df2e",
"md5": "d66f5b56a79ea150870c90ef785b85ef",
"sha256": "713d32db7e3ace45104714628aa4691e2052f15ad651cd04c85fd446544323e1"
},
"downloads": -1,
"filename": "imfont-0.0.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d66f5b56a79ea150870c90ef785b85ef",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 25493,
"upload_time": "2023-12-03T03:18:10",
"upload_time_iso_8601": "2023-12-03T03:18:10.716943Z",
"url": "https://files.pythonhosted.org/packages/33/3c/a04b88d63a49b59136522dd27f0b6be44072f66ee3fbeec3150f29c0df2e/imfont-0.0.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b42b72d57a7a3d83851faf02b229b647a71bdbb9f356fcd761ae29603c627f5a",
"md5": "f2330ddfa0aa25aad4c17d04625e0109",
"sha256": "c702d2fb1f44cc90b41d1392387ca32cb31350139768b7bfe485150d5bde7077"
},
"downloads": -1,
"filename": "imfont-0.0.5.tar.gz",
"has_sig": false,
"md5_digest": "f2330ddfa0aa25aad4c17d04625e0109",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 26646,
"upload_time": "2023-12-03T03:18:12",
"upload_time_iso_8601": "2023-12-03T03:18:12.378720Z",
"url": "https://files.pythonhosted.org/packages/b4/2b/72d57a7a3d83851faf02b229b647a71bdbb9f356fcd761ae29603c627f5a/imfont-0.0.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-03 03:18:12",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "hk4crprasad",
"github_project": "imfont",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "imfont"
}