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

Updated TGA I O Functions (markdown)

Chuck Walbourn 2020-09-30 13:56:39 -07:00
parent 7bde911e08
commit 480be65449

@ -119,7 +119,7 @@ if ( FAILED(hr) )
* The reader does not support interleaved files (this feature was deprecated) * The reader does not support interleaved files (this feature was deprecated)
* The reader only supports 8-bit greyscale, 16-bit truecolor, 24-bit truecolor, and 32-bit truecolor images * The reader only supports 8-bit greyscale, 16-bit truecolor, 24-bit truecolor, and 32-bit truecolor images
* The writer always creates uncompressed files, although the reader can load RLE compressed files * The writer always creates uncompressed files, although the reader can load RLE compressed files
* The reader does not support the ``TGA`` header extension metadata, which is ignored by the reader except for gamma and alpha mode. The writer can optionally write the TGA 2.0 extension area. * The reader only looks for gamma and alpha mode in the TGA 2.0 metadata if present. The writer can optionally write the TGA 2.0 extension area.
* For 16-bit and 32-bit truecolor images, there is a special-case fixup if the entire alpha channel is 0. It is modified to be fully opaque unless you use ``TGA_FLAGS_ALLOW_ALL_ZERO_ALPHA``. * For 16-bit and 32-bit truecolor images, there is a special-case fixup if the entire alpha channel is 0. It is modified to be fully opaque unless you use ``TGA_FLAGS_ALLOW_ALL_ZERO_ALPHA``.
# Windows Store apps # Windows Store apps