Almost all you'll need can probably be found here:
http://www.wotsit.org/search.asp?s=graphics
This provides graphics file formats for pretty much all formats I've personally encountered. Once you know the format of the file, it's basically a matter of writing a parser to read the file, then outputting the file in the correct format.
Hope that helps.
Dennis