Add a method for loading a rectangle from an image

Useful for partially loading very large images