diff --git a/TGA-I-O-Functions.md b/TGA-I-O-Functions.md index d2ce13d..4266778 100644 --- a/TGA-I-O-Functions.md +++ b/TGA-I-O-Functions.md @@ -52,7 +52,7 @@ HRESULT SaveToTGAFile( const Image& image, # Parameters For the load functions, the _metadata_ parameter can be nullptr as this information is also available in the returned **ScratchImage**. -For the save functions, a TGA 2.0 extension footer is written if _metadata_ is non-null. +For the save functions, a TGA 2.0 extension footer is written if _metadata_ is non-null. It sets a 1/2.2 gamma for SRGB formats, and includes the alpha mode. > Support for writing the TGA 2.0 extension footer was added in DirectXTex for October 2019. @@ -107,7 +107,7 @@ if ( FAILED(hr) ) * 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 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. The writer can optionally write the TGA 2.0 extension area. +* The reader does not support the ``TGA`` header extension metadata, which is ignored by the reader except for the alpha mode. 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 assumed to be fully opaque unless you use ``TGA_FLAGS_ALLOW_ALL_ZERO_ALPHA``. # Windows Store apps