Resize mode for the image input for video generation.
Crop the image to fit the correct aspect ratio (so we lose parts of the image in the process).
Pad the image to fit the correct aspect ratio (so we don't lose any parts of the image in the process).
Resize mode for the image input for video generation.