Add as_screenshot_get_image()

This allows us to get the AsImage closest to the target size.
Add some useful image size constants

We're already hardcoding these in various places.