Provided by: netpbm_10.0-15ubuntu2_amd64
ppmtomap - extract all colors from a portable pixmap
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.
pnmcolormap(1) 06 January 2002 ppmtomap(1)