The OpenD Programming Language

TGAEncoder

This supports l8, la8, rgb8, rgba8 as input, and can output RGB8 or RGBA8 .TGA with RLE Reference: http://www.paulbourke.net/dataformats/tga/

version(encodeTGA)
struct TGAEncoder {
nothrow @nogc
IOStream* _io;
nothrow @nogc
void* _handle;
nothrow @nogc
PixelType _inputType;
nothrow @nogc
scanlineConversionFunction_t _scanConvert;
nothrow @nogc
int _channels;
nothrow @nogc
int _width;
nothrow @nogc
int _height;
nothrow @nogc
ubyte* scanSpace;
nothrow @nogc
byte* similarMask;
nothrow @nogc
byte* opcode;
nothrow @nogc
bool _enableRLE;
}

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Meta