Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
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?
DDS RW Microsoft Direct Draw Surface Use -define to specify the compression (e.g. -define dds:compression={dxt1, dxt5, none}). Other defines include dds:cluster-fit={true,false}, dds:weight-by-alpha={true,false}, dds:fast-mipmaps={true,false}, and use dds:mipmaps to set the number of mipmaps (use fromlist to use the image list).
I do have that in the original command we're using, but the only difference appears to be the lowercase dxt? is that important? so DXT1 wouldn't be the same as dxt1?
Could this be why when we check they're not always compressing correctly?