Struct imagefmt::TgaHeader
[−]
[src]
pub struct TgaHeader { pub id_length: u8, pub palette_type: u8, pub data_type: u8, pub palette_start: u16, pub palette_length: u16, pub palette_bits: u8, pub x_origin: u16, pub y_origin: u16, pub width: u16, pub height: u16, pub bits_pp: u8, pub flags: u8, }
Header of a TGA image.
Fields
id_length: u8
palette_type: u8
data_type: u8
palette_start: u16
palette_length: u16
palette_bits: u8
x_origin: u16
y_origin: u16
width: u16
height: u16
bits_pp: u8
flags: u8