imfont 0.0.5
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.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.