Doing some work on the
texconvex tool (the Direct3D 10.x/11 version of the Texture Conversion Tool
texconv), I discovered that my use of the NULL render device resulted in garbage output from this tool in some scenarios. This is easily remedied using the WARP or REFERENCE device.
Since this is just a simple shell around D3DX functionality, the source code is fairly trivial. Here is the source to the current tool as shipped in the DirectX SDK (June 2010) with the above fix, as well as support for the Windows Media Photo / HD Photo format (i.e.
D3DX11_IFF_WMP). As the primary high-dynamic range image format supported by D3DX, it is an important format to support particularly when generating BC6H compressed images.
Update: It is recommended you make use of the DirectXTex version of
texconv instead of either version using the legacy D3DX library.