# ppmtotga(1) - man - phpman

> **TLDR:** This command has been superseded by `pamtotga`.
>
- View documentation for the current command:
  `tldr pamtotga`

*Source: tldr-pages*

---

[ppmtotga(1)](https://www.chedong.com/phpMan.php/man/ppmtotga/1/markdown)                            General Commands Manual                           [ppmtotga(1)](https://www.chedong.com/phpMan.php/man/ppmtotga/1/markdown)



## NAME
       ppmtotga - convert portable pixmap into a TrueVision Targa file

## SYNOPSIS
       **ppmtotga** [**-mono|-cmap|-rgb**] [**-norle**] [_ppmfile_]

## DESCRIPTION
       Reads a portable pixmap as input.  Produces a TrueVision Targa file as output.

## OPTIONS
### -mono
              a portable graymap.

### -cmap
              a portable graymap or a portable pixmap containing no more than 256 distinct colors.

### -rgb

### -norle
              length encoded files.

       All flags can be abbreviated to their shortest unique prefix.  If no file type  is  specified
       the  most highly constained compatible type is used, where monochrome is more constained than
       colormapped which is in turn more constained than unmapped.

## BUGS
       Does not support all possible Targa file types.  Should really be in PNM, not PPM.

## SEE ALSO
       [tgatoppm(1)](https://www.chedong.com/phpMan.php/man/tgatoppm/1/markdown), [ppm(5)](https://www.chedong.com/phpMan.php/man/ppm/5/markdown)

## AUTHOR
       Copyright (C) 1989, 1991 by Mark Shand and Jef Poskanzer.



                                           28 October 1991                               [ppmtotga(1)](https://www.chedong.com/phpMan.php/man/ppmtotga/1/markdown)
