png2c is a tool which converts a PNG file to a C source. It makes it easy to embed PNG pictures within your program.Formats currently supported:
- 32-bit RGBA -> output to ARGB
- 24-bit -> output to RGB
Compiled and tested under unix.
Download the sourceĀ here.