I am adding a number of images to a video editor strip using image_strip_add according to this answer: https://blender.stackexchange.com/a/286951/75609
However, my images are not orientated correctly, some being rotated 90 or 180 degrees. I've tried different values for fit_method, but this seems to be ignored. I don't see any other relevant options in the API docs. Any idea as to what might be the reason?
I've also looked at the EXIF orientation data of the images but this doesn't seem to have any bearing on how they end up in the strip.