/img2c

Image to raw C header converter

Primary LanguagePythonApache License 2.0Apache-2.0

img2c - Image to C header converter

A small converter script that converts a Python PIL openable image into a raw RGBA C array in a header file - useful for embedding into raw source code.

Usage:

img2c.py image.png