∞ img2c in use
img2c was started winter '07, as an alternative to SebHoll's software for Windows that does the same thing. img2c is written i C++ using the Qt library for GUI and image operations.
Features that are not implemented yet are
- Ability to choose the area to crop from, when the image exceeds 128x64px.
- User-defined shades
Download
The source code for libfxsys is available by SVN;
svn co https://fxsdk.svn.sourceforge.net/svnroot/fxsdk/img2c/trunk img2c
Compilation
The source code has to be compiled before usage. Qt, gcc and make are required. Enter the img2c directory and execute:
qmake -project
qmake
make
The executable can be run with
./img2c.
Usage
The first thing you do, is to open the image you want to create code from. Do this by clicking the "Open" button. img2c handles most popular image formats, including PNG, JPG and BMP. When the file is loaded, some code is generated with the default settings. If you want to change the number of buffers (shades) to use, you can do so in the combobox next to the Open-button. The C-code is generated and displayed for every step.