I'm not as familiar with DirectX as I am with OpenGL, but it sounds like it would just be a quick sub-100-line program, if DirectX has the functions it should have for parsing/writing X and BMP files... but sorry, haven't heard of a program that does this. Consider it a learning experience (and if I had a compiler and the DX SDK here, I could probably write a quickie for you)
