# pamcrater > Create a PAM image of cratered terrain. > See also: `pamshadedrelief`, `ppmrelief`. > More information: . - Create an image of cratered terrain with the specified dimensions: `pamcrater {{[-h|-height]}} {{height}} {{[-w|-width]}} {{width}} > {{path/to/output.pam}}` - Create an image containing the specified number of craters: `pamcrater {{[-n|-number]}} {{n_craters}} > {{path/to/output.pam}}`