# Converting DDS textures to TGA

I have a model which has textures in DDS format, but my game takes textures in TGA format. How can I convert the textures from DDS to TGA?

• On a side note, you may not be able to produce a single .tga file from a .dds. DDS files may contain multiple image layers (e.g. cubemap faces), generally you would not unwrap the layers into a single TGA file because that would make re-loading the image more difficult than it needs to be. Instead, you would probably output one TGA file per-layer. Likewise, you will lose any pre-computed mipmap chain in the DDS file when you convert to TGA (you will get the highest detail mipmap level and that is it). Jun 11, 2014 at 20:19
• I found another way around. I converted the dds file into a Tga file. Then in my unix environement i went to the .FBX file and changed all the paths from .DDS to .TGA and it worked !!! :D. Anyway thank you very much for you help :) hope this way helps somebody. Jun 28, 2014 at 14:22

convert -flip foo.png foo.dds