Command Line convert DDS to DXT1/DXT5 specifically
Posted: 2019-07-26T06:33:57-07:00
Hi, I'm using a tool which uses Imagemagick to convert from jpg/png etc to DDS. Some images need to be DXT1 and some need to be DXT5. The main need is DXT1 as this is for the main images.
In the help files it states that occasionally ImageMagick uses DXT5 even if DXT1 is specified using command line args.
Is there a way to ensure DXT1 is used for certain conversions and DXT5 is used otherwise?
Command I'm using is:
In the help files it states that occasionally ImageMagick uses DXT5 even if DXT1 is specified using command line args.
Is there a way to ensure DXT1 is used for certain conversions and DXT5 is used otherwise?
Command I'm using is:
Code: Select all
convert -format dds -define dd:mipmaps=1 -define dds:compression=DXT1 'input_file.xxx' 'output_file.dds'