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

Updated Image formats (markdown)

Chuck Walbourn 2020-06-04 13:02:37 -07:00
parent 81b9fc2251
commit 9e412b0261

@ -3,7 +3,7 @@ The DirectXTex library primarily uses [Windows Imaging Component](https://docs.m
# BMP (Windows Bitmap Format)
The ``BMP`` file format is a long-lived Windows-specific format for images which is supported by a built-in WIC codec. See [Wikipedia](https://en.wikipedia.org/wiki/BMP_file_format) for more details.
There is an unofficial extension of BMP for DXTn compressed data that was created primarily for use by the Microsoft flight simulator team. This format is not widely useful enough to support in the DirectXTex library, but [[texconv]] supports reading them.
> There is an unofficial extension of BMP for DXTn compressed data that was created primarily for use by the Microsoft flight simulator team. This format is not widely useful enough to support in the DirectXTex library, but [[texconv]] supports reading them.
To aid in debugging, here is a [simple console program](https://github.com/Microsoft/DirectXTex/wiki/bmpdump.cpp) for dumping out the content of a BMP header in a human-readable form.
@ -47,6 +47,8 @@ The ``PPM`` file is an 80s era extremely simple file format that supports RGB va
These formats are not generally useful enough to be put into the DirectXTex library, but [[texconv]] supports them for interop with these academic repositories.
> Legacy D3DX9 supports reading PPM, reading PFM, and writing PFM files. The PBM/PGM (BitMap / GreyMap) formats were not supported by legacy D3DX9.
See [PPM / PGM / PBM image files](http://paulbourke.net/dataformats/ppm/) and [Unofficial PBM format for HDR images, PFM (Portable Float Map)](http://paulbourke.net/dataformats/pbmhdr/)
# TIFF (Tagged Image File Format)