title: Can I use Direct3D to generate thumbnails?
body: <p>I can use <code>D3DXCreateTextureFromFile</code> to load an image, and <code>D3DXSaveTextureToFile</code> to save it, but how can I resize it? Should I use <code>IDirect3DDevice9::SetRenderTarget</code> and render to a texture?</p>
  
  <p>Is it slower than doing it on CPU?</p>