code: def _crop(self, image, width, height, x_offset, y_offset):
          
          image['options']['crop'] = '%sx%s+%s+%s' % (width, height, x_offset, y_offset)
          image['size'] = (width, height)  # update image size
          return image
docs: Crops the image