change the image resizing command

pnmscale was obsoleted by pamscale.
Merge pull request #43 from trueroad/patch-1

change the image resizing command