I would like to export a precise bounding box of a map. The REST API provides a bbox parameter, but it seems to always adjust my extent slightly. For instance in the URL example below I am providing a bbox of:
The default image size being generated is 400 x 400 pixels. This covers a larger area than you requested, however the default is enforced since you do not provide an image size to use. Using the extent you gave, I figured a width to height ratio of 6/10 (or 0.6). Multiply this by the height (in pixels) of the image you want and that will give you the corresponding width to use. For example, try this.