Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/xpol/img2c
- Owner: xpol
- Created: 2014-06-13T01:55:02.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-06-13T03:32:16.000Z (over 10 years ago)
- Last Synced: 2024-12-24T23:07:05.054Z (about 1 month ago)
- Language: C
- Size: 1.11 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`