# phpman > man > ppmtomap(1)

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

*Source: tldr-pages*

---

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



## NAME
       ppmtomap - extract all colors from a portable pixmap


## DESCRIPTION
       This program exists only for backward compatibility.

       Use **pnmcolormap**, which replaced it in January 2002.

       One  trivial  difference  between **ppmtomap** and **pnmcolormap** **all** is that if the input is PBM or
       PGM, **ppmtomap** would produce PPM output, whereas **pnmcolormap** **all** produces  the  same  kind  of
       output  as  the input.  This should not be very noticeable, though, as PBM and PGM images are
       usually usable anywhere a PPM image is.


## SEE ALSO
       [**pnmcolormap**(1)](https://www.chedong.com/phpMan.php/man/pnmcolormap/1/markdown)



                                           06 January 2002                               [ppmtomap(1)](https://www.chedong.com/phpMan.php/man/ppmtomap/1/markdown)
