This is a little perl script I whipped together to convert raw data from multiple files into a header format. This was useful on a project where we needed data during startup but our file system wasn't initialized yet.

I haven't added too much to this script as far as functionality. See the documentation: [argument] SourceFiles
-output File to create, default is Output.h.
-linelength  Number of bytes to write per line, default is 8.
-help, -? Print this help.
Not too many options. You can specify the output filename, useful for build scripts. You can change the line length to suit your tastes. Note that the script takes in any number of files as the last argument(s), I used this for multi-frame animations.

Example Time:

Simply running " -linelength 20 Test.gif" on the previous image will give the following: