mlx.data.Buffer.image_center_crop# Buffer.image_center_crop(self: mlx.data._c.Buffer, key: str, w: int, h: int, output_key: str = '') → mlx.data._c.Buffer# Center crop the image at key. Parameters: key (str) – The sample key that contains the array we are operating on. w (int) – The target width. h (int) – The target height. output_key (str) – If it is not empty then write the result to this key instead of overwriting key. (default: ‘’)