image_cropped#

deltacamera.Camera.image_cropped(new_shape, anchor=(0, 0))[source]#

Return a camera adjusted for a cropped image.

Parameters:
  • new_shape – New image shape (height, width)

  • anchor – Top-left corner of crop in original image (x, y)

Returns:

New Camera for the cropped image

Return type:

Camera