Utility which converts bitmaps to C/C++ byte arrays used in microcontrollers like Arduino on Spark Core/Photon.
Project description
# img2h
Utility which converts bitmaps to C/C++ byte arrays.
## Instalation
```
$ pip install img2h
```
## Usage
```
$ img2h --help
Usage: img2h [OPTIONS] IMAGE_FILE
Options:
--threshold INTEGER Pixels with brightness lower that this will be on
--show-output / --no-show-output Show output image
--invert / --no-invert Invert output image
--help Show this message and exit.
```
Utility which converts bitmaps to C/C++ byte arrays.
## Instalation
```
$ pip install img2h
```
## Usage
```
$ img2h --help
Usage: img2h [OPTIONS] IMAGE_FILE
Options:
--threshold INTEGER Pixels with brightness lower that this will be on
--show-output / --no-show-output Show output image
--invert / --no-invert Invert output image
--help Show this message and exit.
```