1
0
mirror of https://github.com/microsoft/DirectXTex synced 2024-11-09 22:40:06 +00:00

Created Image formats (markdown)

Chuck Walbourn 2016-04-21 12:08:39 -07:00
parent 8ef6157501
commit df889ac624

12
Image-formats.md Normal file

@ -0,0 +1,12 @@
The DirectXTex library primarily uses WIC to perform image I/O, but includes a custom codec for `DDS`` and ``TGA`` files. A complete, detailed description of image file formats is well beyond the scope of this wiki. This page does provide a quick overview of the comment formats the library deals with.
# BMP
# DDS
The ``DDS`` file format is not so much an image format as a "Direct3D resource" container for textures. It can contain data in all DXGI formats, 1D textures, 2D textures, 1D & 2D texture arrays, cubemaps, cubemap arrays, and volume maps.
[The DDS File Format Lives](http://blogs.msdn.com/b/chuckw/archive/2010/02/05/the-dds-file-format-lives.aspx)
[DDS Programmer's Guide](http://msdn.microsoft.com/en-us/library/bb943991.aspx)
To aid in debugging, here is a [simple console program](https://github.com/Microsoft/DirectXTex/wiki/ddsdump.cpp) for dumping out the content of a DDS in a human-readable form. It requires the ``dds.h`` header in the DirectXTex library to build.