TGA_IO
Routines to Read a TARGA or TGA file
TGA_IO
is a C++ library which
can read the information
contained in a TGA or TARGA graphics file.
Licensing:
The computer code and data files described and made available on this web page
are distributed under
the GNU LGPL license.
Languages:
TGA_IO is available in
a C++ version.
Related Data and Programs:
TGA,
a data directory which
contains a description and examples of the TGA format.
Reference:
-
The TGA File Format,
available in
http://www.scs.fsu.edu/~burkardt/pdf/targa.pdf
-
http://www.scs.fsu.edu/~burkardt/txt/tga_format.txt
Source Code:
Examples and Tests:
List of Routines:
-
TGA_BYTE_SWAP_GET returns the internal value of TGA_BYTE_SWAP.
-
TGA_BYTE_SWAP_SET sets the internal value of TGA_BYTE_SWAP.
-
TGA_HEADER_PRINT prints the header of a TGA file.
-
TGA_HEADER_READ reads the header of a TGA file.
-
TGA_HEADER_WRITE writes the header of a TGA file.
-
TGA_COLOR_MAP_READ reads the color map of a TGA file.
-
TGA_COLOR_MAP_WRITE writes the color map of a TGA file.
-
TGA_DATA_READ reads the data of a TGA file.
-
TGA_DATA_WRITE writes the data of a TGA file.
-
TGA_READ reads a TGA file.
-
U_CHAR_READ reads an unsigned char from a file.
-
U_CHAR_WRITE writes an unsigned char to a file.
-
U_LONG_INT_READ reads an unsigned long int from a file.
-
U_LONG_INT_WRITE writes an unsigned long int to a file.
-
U_SHORT_INT_READ reads an unsigned short int from a file.
-
U_SHORT_INT_WRITE writes an unsigned short int to a file.
-
TIMESTAMP prints the current YMDHMS date as a time stamp.
You can go up one level to
the C++ source codes.
Last revised on 04 February 2006.