imageformats.tga

Undocumented in source.

Members

Functions

detect_tga
bool detect_tga(Reader stream)
Undocumented in source. Be warned that the author may not have intended to support it.
read_tga
IFImage read_tga(char[] filename, long req_chans)
read_tga
IFImage read_tga(Reader stream, long req_chans)
Undocumented in source. Be warned that the author may not have intended to support it.
read_tga_from_mem
IFImage read_tga_from_mem(ubyte[] source, long req_chans)
read_tga_header
TGA_Header read_tga_header(char[] filename)
read_tga_header_from_mem
TGA_Header read_tga_header_from_mem(ubyte[] source)
read_tga_info
void read_tga_info(Reader stream, int w, int h, int chans)
Undocumented in source. Be warned that the author may not have intended to support it.
read_tga_info
void read_tga_info(char[] filename, int w, int h, int chans)
read_tga_info_from_mem
void read_tga_info_from_mem(ubyte[] source, int w, int h, int chans)
write_tga
void write_tga(char[] file, long w, long h, ubyte[] data, long tgt_chans)
write_tga_to_mem
ubyte[] write_tga_to_mem(long w, long h, ubyte[] data, long tgt_chans)

Structs

TGA_Header
struct TGA_Header

Meta