Texpack is a command line tool intended for combine lot of small images into few big texture atlases.
This program takes a list of source images, loads them all, determines size of the resulting texture, but not above MAX_WIDTH x MAX_HEIGHT. It packs all source images to this texture.
· DevIL library
First, untar the archive, go to directory where you've done that and follow these steps:
1. run `configure'
2. run `make'
3. run `make install'
Now you can use this program as you need. ;-)