Added conversion for resolution parameter