xoreos  0.0.5
Namespaces | Functions
dumptga.cpp File Reference

A simple TGA image dumper. More...

#include <cstdio>
#include "src/common/scopedptr.h"
#include "src/common/error.h"
#include "src/common/ustring.h"
#include "src/common/writefile.h"
#include "src/graphics/images/decoder.h"
Include dependency graph for dumptga.cpp:

Go to the source code of this file.

Namespaces

 Graphics
 

Functions

static void Graphics::writePixel (Common::WriteStream &file, const byte *&data, PixelFormat format)
 
static Common::WriteStreamGraphics::openTGA (const Common::UString &fileName, int width, int height)
 
static void Graphics::writeMipMap (Common::WriteStream &stream, const ImageDecoder::MipMap &mipMap, PixelFormat format)
 
void Graphics::dumpTGA (const Common::UString &fileName, const ImageDecoder *image)
 Dump image into a TGA file. More...
 

Detailed Description

A simple TGA image dumper.

Definition in file dumptga.cpp.