Saves D3D texture to stream in one of formats supported by Imaging.
function SaveD3DTextureToStream(const Ext: string; Stream: TStream; const Texture: IDirect3DTexture9): Boolean;
ImagingDirect3D9 (at line 126)
Saves all present mipmap levels.