Basically, anytopnm is calling "gifoppm" (Which has been renamed to) "giftopnm" now. It's just a script, easy one to fix. Also it fails to get JPEG's.. which I agree is not part of libgr.. But then.. Someone should make a wrapper over djpeg/cjpeg named jpgtopnm and pnmtojpg and then you should be able add it. :)
Both have been picked up in netpbm-9.5, which will replace libgr in future releases.