Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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

Project details


Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page