Author Topic: Random Q: batch-resizing DDS images  (Read 907 times)

0 Members and 1 Guest are viewing this topic.

Offline Shivan Hunter

  • 210
  • FRED needs lambdas!
Random Q: batch-resizing DDS images
I guess this is the place for this thread.

I have 177 DDS textures of various sizes and compression formats (RGB textures are BC1, RGBA textures are BC7, may be a few others in there, some have mipmaps and some don't (Nyctaeus, mipmap your normal maps!)). I want to resize them all by 1/2, while preserving compression type and mipmap settings for each image.

Some of you may have had to do this before, so I'm putting this out there: what would be a good tool to easily do this automatically?

[EDIT] Got it working. Just whipped together a little proggy that scrapes the dds header and calls TexConv with different settings based on what it finds. Not sure if I should share it because it is very very crap
« Last Edit: June 27, 2024, 04:01:54 am by Shivan Hunter »