I kinda needed to serialize images to XML files and back to images, so base64 was my choice, i wrote a small tool if someone would like to do that too.
the source is here
http://edoapp.googlecode.com/svn/trunk/Tools/Base64Encoder/
binary for win32 is here
http://edoapp.googlecode.com/svn/trunk/Tools/Base64Encoder/Release/Base64Encoder.exe
just show it some file and click encode (the built in text editor will only show the first 1mb of data, more then that and you risk freezing your computer for longer then you’d like), you can change the limit in Includes.h file.
hope it works for you.