When rasterizing a vector image (eg. PSD, EPS, SVG, etc.), the resolution is calculated based on the intrinsic resolution of the image and/or the desired dimensions (width/height). If you would like to set the resolution manually, you can use the dpi parameter instead.
If no resolution and dimensions are provided, the intrinsic resolution of the image is used and the dimensions are calculated based on this.