Direct Draw Surface (DDS)
DirectDraw Surface (DDS) is a standard format used to store images (surfaces and textures) in � Microsoft DirectX. Use the following parameters to adjust settings of this format.
format
Format parameter specifies the used format of DDS surface. Its allowed values are:
- R8G8B8 - 24 bits per pixel, R:8, G:8, B:8
- R5G6B5 - 16 bits per pixel, R:5, G:6, B:5
- A8R8G8B8 - 32 bits per pixel, A:8, R:8, G:8, B:8
- X8R8G8B8 - 32 bits per pixel, A:x, R:8, G:8, B:8
- A1R5G5B5 - 16 bits per pixel, A:1, R:5, G:5, B:5
- X1R5G5B5 - 16 bits per pixel, A:x, R:5, G:5, B:5
- L8 L8 - 8 bits per pixel, luminance:8
- A8L8 A8L8 - 16 bits per pixel, A:8, L:8
- DXT1 DXT1 - compressed, 1-bit alpha
- DXT2 DXT2 - compressed, 4-bit premultiplied alpha
- DXT3 DXT3 - compressed, 4-bit nonpremultiplied alpha
- DXT4 DXT4 - compressed, interpolated premultiplied alpha
- DXT5 DXT5 - compressed, interpolated nonpremultiplied alpha
The default value is: R8G8B8.
Example:
mipmap
Mipmap parameter specifies the way of saving resulting files: either with mipmap levels or without them. The allowed values are:
- yes - resulting files will be generated with mipmap levels
- no - resulting files will be generated without mipmap levels
The default value is: no.
Example:
general example
ICPCL.exe -convertto dds format:X1R5G5B5 mipmap:yes -source "C:\Original files" -dest "C:\Converted files"
tips
-
If mipmap parameter value is "yes", the sizes of saved images must be equal to the power of two (128, 256, 512, 1024 etc.). If the source image does not comply with this requirement, its size can be changed with one of the following operations: crop, resize, canvas, specified with the help of -oper key.