pub fn write_tga<W: Write>( writer: &mut W, tga: &Tga, ) -> Result<(), TgaBinaryError>
Writes TGA data to a writer.
Output is always canonical: uncompressed true-color 32-bit BGRA with top-left origin and 8-bit alpha.