This program is part of Netpbm.
ppmtotga was replaced in Netpbm 10.6 (July 2002) by pamtotga.
pamtotga is backward compatible with ppmtotga, but also recognizes PAM input, including that with an alpha channel.