I would like to create a python script for blender that takes in paramater a set of different images of different size and create a slideshow with transition. When the image doesn't fit the camera view size i would like that the image would move with a ken burns effect. I would like to know for example how to fit the camera bounds to the size of a an image if possible and if not to fit the camera bounds to a portion of an image. All scene setup and rendering has to be done with a python script.
Thanks.