Forum archive
text hex to bin converter program
- i've noticed on a couple of threads there are .png files in text hex format.
i was curious about them so i wrote a program to convert them back to binary
currently the input must be 1 line of text and no extra characters after the content if the file size is 1 line and is divisible by 2 then it should be ok
here is the program:
http://et791.ni.utoledo.edu/~awillia19/hex2bin.exe
you can get src here (used djgpp but should be compatable with other compilers):
http://et791.ni.utoledo.edu/~awillia19/hex2bin.cc
let me know what you think - Those HEX jobs are all my fault. It would be great if these forums could somehow support the posting of small pictures without the need for providing an off-site URL. I could host these silly little 1K images on my own site, but then if I wanted to clean up the directory, the thread would no longer make sense. Even a measly 1KB limit on image filesize would be a big improvement.