tgaimage.hpp File Reference

Truevision TARGA v2 image, implemented using the following references: Truevision TGA page on Wikipedia
TGA(tm) File Format Specification More...

#include "exif.hpp"
#include "iptc.hpp"
#include "image.hpp"
#include "types.hpp"
#include <string>

Classes

class  Exiv2::TgaImage
 Class to access raw TARGA images. This is just a stub - we only read width and height. More...
 

Namespaces

 Exiv2
 Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of the objects of this namespace.
 
 Exiv2::ImageType
 Supported image formats.
 

Functions

EXIV2API Image::AutoPtr Exiv2::newTgaInstance (BasicIo::AutoPtr io, bool create)
 Create a new TgaImage instance and return an auto-pointer to it. Caller owns the returned object and the auto-pointer ensures that it will be deleted.
 
EXIV2API bool Exiv2::isTgaType (BasicIo &iIo, bool advance)
 Check if the file iIo is a Targa v2 image.
 

Variables

const int Exiv2::ImageType::tga = 13
 Truevision TARGA (tga) image type (see class TgaImage)
 

Detailed Description

Truevision TARGA v2 image, implemented using the following references: Truevision TGA page on Wikipedia
TGA(tm) File Format Specification

Version
Rev
3090
Author
Marco Piovanelli, Ovolab (marco) marco.piovanelli@pobox.com
Date
05-Mar-2007, marco: created