I would like to perform bulk operations of a large number of .DDS files (over 100,000) which may appear in any variety of different BCn formats. I would normally use the ImageMagick command line tools for this, however, although it can read BC7 format .DDS files, it does not support writing them back.
Is there a different format which ImageMagick can convert to that I can safely operate on and then recompress back into BC7 with a tool like compressonator?
I am not an expert on the .DDS file format and simply want to optimize their size for my use case. For example, scale all textures which may be 2k, 4k, or 8k all down to 1k to save on VRAM. Can this be done as a bulk operation safely and naively on game assets without accidentally destroying important data in the .DDS file, such as an alpha channel, etc?