Original Post
I need one function or class with the ability to write all DirectX 8 texture formats to a DDS file. The function D3DXSaveTextureToFile() is able to write 2D, cube and volume textures, but without alpha channel, which I need. The NVidia examples, which I know about, have also only incomplete support.
Also I need another, single function to decompress JPEG files with alpha channel in memory. I use the Intel JPEG Library to compress it, but I don''t want to include the DLL of it, when my engine only decompress JPEGs.
Does anybody know some good links to solve my problems?