Changed pamscale xyfit to xysize to be able to use older versions of netpbm