DDS Format Overview
This topic provides information about the native DDS codec available through the Windows Imaging Component (WIC).
The following table provides codec identification information.
|Formal Name(s)||DirectDraw Surface|
|File Name Extension(s)||dds|
The following table lists the GUIDs used to identify the native DDS codec components.
Note that the DDS format supports any valid DXGI_FORMAT value. However, the WIC DDS codec only supports decoding and encoding files containing the following formats:
The WIC encoding APIs are designed to be codec-independent and therefore image encoding for WIC-enabled codecs is essentially the same. For more information about image encoding using the WIC API, see the Encoding Overview.
The DDS file format has unique requirements that arise from its support for concepts such as mipmaps and texture arrays. To fully exercise control over DDS image encoding, you should use the IWICDdsEncoder interface to set DDS-specific encoding parameters.
The WIC decoding APIs are designed to be codec-independent and image decoding for WIC-enabled codecs is essentially the same. For more information about image decoding, see the Decoding Overview. For more information about using decoded image data, see the Bitmap Sources Overview.
In addition to supporting the standard WIC codec interfaces, the DDS decoder provides direct access to the native block compressed data using the DDS-specific interfaces, IWICDdsDecoder and IWICDdsFrameDecode. To use these interfaces, call QueryInterface off of IWICBitmapDecoder and IWICBitmapFrameDecode, respectively.