From 6186abafa7bd20f7e69df449726cc3b4f349c079 Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Sun, 21 Jun 2015 20:47:29 -0700 Subject: [PATCH] Updated TGA I O Functions (markdown) --- TGA-I-O-Functions.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/TGA-I-O-Functions.md b/TGA-I-O-Functions.md index 5ef760c..38daa74 100644 --- a/TGA-I-O-Functions.md +++ b/TGA-I-O-Functions.md @@ -22,8 +22,11 @@ Loads a ``.TGA`` file. Saves an image to a ``.TGA`` file. * ``R8G8B8A8_UNORM``, ``R8G8B8A8_UNORM_SRGB``, ``B8G8R8A8_UNORM``, and ``B8G8R8A8_UNORM_SRGB`` data are written as a 32-bit truecolor uncompressed ``.TGA`` file + * ``B8G8R8X8_UNORM`` and ``B8G8R8X8_UNORM_SRGB`` data is written as a 24-bit truecolor uncompressed ``.TGA`` file + * ``B5G5R5A1_UNORM`` data is written as a 16-bit truecolor uncompressed ``.TGA`` file + * ``R8_UNORM`` and ``A8_UNORM`` data is written as an 8-bit uncompressed greyscale ``.TGA`` file HRESULT SaveToTGAMemory( const Image& image, Blob& blob );