Training
Module
Work with medical imaging data and DICOM - Training
Learn about medical imaging data and DICOM® (Digital Imaging and Communications in Medicine) in Microsoft Cloud for Healthcare.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
This topic provides information about the native DDS codec available through the Windows Imaging Component (WIC).
The following table provides codec identification information.
Component | Description |
---|---|
Formal Name(s) | DirectDraw Surface |
File Name Extension(s) | dds |
MIME type | image/vnd.ms-dds |
The following table lists the GUIDs used to identify the native DDS codec components.
Component | Friendly Name | GUID |
---|---|---|
Container Format | GUID_ContainerFormatDds | 9967cb95-2e85-4ac8-8ca283d7ccd425c9 |
Decoder | CLSID_WICDdsDecoder | 9053699f-a341-429d-9e90ee437cf80c73 |
Encoder | CLSID_WICDdsEncoder | a61dde94-66ce-4ac1-881b71680588895e |
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.
Training
Module
Work with medical imaging data and DICOM - Training
Learn about medical imaging data and DICOM® (Digital Imaging and Communications in Medicine) in Microsoft Cloud for Healthcare.