Metadata-Version: 2.1
Name: imfont
Version: 0.0.3
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
Home-page: https://github.com/hk4crprasad/imfont
Download-URL: https://github.com/hk4crprasad/imfont/archive/pypi.zip
Author: HK4CRPRASAD
Author-email: hotahara12@gmail.com
License: GPL-3.0
Keywords: font,img,cpp
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Operating System :: OS Independent
Classifier: Topic :: Communications :: Chat
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: rich

# 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.
