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/

Destructor

~this
~this()
Undocumented in source.

Members

Functions

encodeScanline
bool encodeScanline(const(void)* scanptr)
Undocumented in source. Be warned that the author may not have intended to support it.
initialize
bool initialize(IOStream* io, void* handle, PixelType inputType, int width, int height, bool enableRLE)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Color
struct Color
Undocumented in source.

Variables

_channels
int _channels;
Undocumented in source.
_enableRLE
bool _enableRLE;
Undocumented in source.
_handle
void* _handle;
Undocumented in source.
_height
int _height;
Undocumented in source.
_inputType
PixelType _inputType;
Undocumented in source.
_io
IOStream* _io;
Undocumented in source.
_scanConvert
scanlineConversionFunction_t _scanConvert;
Undocumented in source.
_width
int _width;
Undocumented in source.
opcode
byte* opcode;
Undocumented in source.
scanSpace
ubyte* scanSpace;
Undocumented in source.
similarMask
byte* similarMask;
Undocumented in source.

Meta