ppmdist isn't all that different from ppmtopgm in that it converts from color to greyscale, except that if you have a color image having (just for example) three colors - the background, and some foreground stuff in a red and a green in an unfortunate brightness ratio, then with ppmtopgm it'll be hard to tell apart the red from the green in the resulting image. With ppmdist, the (grayscale) contrast between the red and green is maximized, making it much easier to tell them apart.
ppmdist works best with low-color computer-generated images.
Here are 3 example images to show what ppmdist does. Granted, I've carefully picked the red and green intensities:
You can e-mail the author with questions or comments: