Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xpol/img2c

Convert image to a c array.
https://github.com/xpol/img2c

Last synced: 29 days ago
JSON representation

Convert image to a c array.

Awesome Lists containing this project

README

        

# Image to C Array Util

[![Build Status](https://travis-ci.org/xpol/img2c.png)](https://travis-ci.org/xpol/img2c)

Converts a image to C array.

## Build

```
cmake -H. -Bbuild
cmake --build build --target img2c --config Release
```

## Usage

```
img2c (RGB565|RGBA4444) > .c
```

Eg. `img2c RGB565 bg.png > bg.c`