I have another (probably final) update for this tool.
Version 1.4 comes with the following changes:
- Now auto-generates mipmaps so it works properly with textures when looking from far away
- Added -mipN parameter (replace N with the number of mipmaps you wanna have, eg. -mip8)
- Fixed a visual problem related to wrong mipmap offsets
- Cleaned up the source code
Always use -mip1 (or -mip2 for older comps) for icons and other interface textures, because those do not use mipmapping at all.
For unit textures simply leave out the -mip parameter.
Thanks go to Litany for providing the test files for my mipmap experiments.