Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am creating a direct X application and I want to put all textures in one DDS file.

I have thousands of little .png images (48x48) and I want to put them into one big DDS file without having to place each image myself (this would be a very time consuming job).

I also need to know which texture has which coordinates, like:

name               start coordinates (X,Y)
Image0001.png      0,0
Image0002.png      48,0
Image0003.png      96,0
Image0004.png      0,48
Image0005.png      48,48
Image0006.png      96,48
Image0007.png      0,96
Image0008.png      48,96
Image0009.png      96,96

So, with, for example 9 files it would create a nice 3x3 grid with the size 144x144.

Is there a way to automate this process on Windows 8.1? (I'm using Visual Studio 2013, if that matters)

Without having to do all the image positioning and coordinate saving myself?

share|improve this question
The simplest way would be to write a small application to do it. you could easily generate a script that places the images in vert rows if the images are number in such a way to make that easy. –  Ramhound Mar 11 at 17:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.