sprint 1-alpha
Namespaces | Functions
sprint/image/tga.h File Reference

image IO from/to TGA file More...

#include <sprint/io/xstream/xstream.h>
#include <sprint/image/imageio.h>

Go to the source code of this file.

Namespaces

namespace  sprint
 

Sprint is a lightweight c++ library to handle different task with crossplatform attention (trying to compile both on MSVC and Mingw on WIn32 and GCC on Linux.


Functions

bool sprint::read_tga (sprint::io::xstream *in, sprint::iimage *image)
 read a image from a tga file
bool sprint::write_tga (sprint::io::xstream *out, const imageview &image, bool rle, bool topdown)
 save a image onto a tga file
bool sprint::read_tga (const char *filename, sprint::iimage *image)
 read a image from a tga file
bool sprint::write_tga (const char *filename, const imageview &image, bool rle, bool topdown)
 save a image onto a tga file

Detailed Description

image IO from/to TGA file

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines