change the image converting command

pngtopnm was obsoleted by pngtopam.
pnmtotiff was extended and renamed to pamtotiff.
pnmtogif is not present but pamtogif is.
Merge pull request #44 from trueroad/patch-2

change the image converting command