From 7ded9653bfe9b9305dd126908bac0a5f867b972d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 24 Nov 2016 12:05:50 +0100 Subject: [PATCH] Tga{Importer,ImageConverter}: properly name the file format w/ extension. For consistency with other image importing plugins. --- src/MagnumPlugins/TgaImageConverter/TgaImageConverter.h | 9 +++++---- src/MagnumPlugins/TgaImporter/TgaImporter.h | 3 ++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/MagnumPlugins/TgaImageConverter/TgaImageConverter.h b/src/MagnumPlugins/TgaImageConverter/TgaImageConverter.h index 90a51fdea..82b5dee32 100644 --- a/src/MagnumPlugins/TgaImageConverter/TgaImageConverter.h +++ b/src/MagnumPlugins/TgaImageConverter/TgaImageConverter.h @@ -51,10 +51,11 @@ namespace Magnum { namespace Trade { /** @brief TGA image converter plugin -Supports images with format @ref PixelFormat::RGB, @ref PixelFormat::RGBA or -@ref PixelFormat::Red (or @ref PixelFormat::Luminance in OpenGL ES 2.0 and -WebGL 1.0) and type @ref PixelType::UnsignedByte. Does *not* support -non-default @ref PixelStorage::swapBytes() values. +Creates Truevision TGA (`*.tga`) files from images with format +@ref PixelFormat::RGB, @ref PixelFormat::RGBA or @ref PixelFormat::Red (or +@ref PixelFormat::Luminance in OpenGL ES 2.0 and WebGL 1.0) and type +@ref PixelType::UnsignedByte. Does *not* support non-default +@ref PixelStorage::swapBytes() values. This plugin is built if `WITH_TGAIMAGECONVERTER` is enabled when building Magnum. To use dynamic plugin, you need to load `TgaImageConverter` plugin diff --git a/src/MagnumPlugins/TgaImporter/TgaImporter.h b/src/MagnumPlugins/TgaImporter/TgaImporter.h index e18c2c917..bce37aa53 100644 --- a/src/MagnumPlugins/TgaImporter/TgaImporter.h +++ b/src/MagnumPlugins/TgaImporter/TgaImporter.h @@ -54,7 +54,8 @@ namespace Magnum { namespace Trade { /** @brief TGA importer plugin -Supports uncompressed BGR, BGRA or grayscale images with 8 bits per channel. +Supports Truevision TGA (`*.tga`, `*.vda`, `*.icb`, `*.vst`) uncompressed BGR, +BGRA or grayscale images with 8 bits per channel. This plugin is built if `WITH_TGAIMPORTER` is enabled when building Magnum. To use dynamic plugin, you need to load `TgaImporter` plugin from