xoreos
0.0.5
|
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"
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::WriteStream * | Graphics::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... | |
A simple TGA image dumper.
Definition in file dumptga.cpp.