/usr/bin/ppmtomap is in netpbm 2:10.0-15.3.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5
#!/bin/sh # This program exists for backward compatibility. pnmcolormap all $@