write_tga

Function write_tga 

Source
pub fn write_tga<W: Write>(
    writer: &mut W,
    tga: &Tga,
) -> Result<(), TgaBinaryError>
Expand description

Writes TGA data to a writer.

Output is always canonical: uncompressed true-color 32-bit BGRA with top-left origin and 8-bit alpha.