cified width and height, maintaining the aspect ratio, and then center the image
within the dimensions, cropping the excess.
Note that resize_mode fill and crop are only supported for PIL image input.   Returns 
PIL.Image.Image, np.ndarray or torch.Tensor
  
The resized image.
  Resize image.  VaeImageProcessorLDM3D The VaeImageProcessorLDM3D accepts RGB and depth inputs and returns RGB and depth outputs.  class diffusers.image_processor.VaeIma