Exporting masks using the Colmap camera export with V2.2.0 is not adhering to the original image rotation.
The original photos were from an iphone, so I suspect that the camera orientation flag is being missed somehow?
The resultant exported images in my test case are portrait (correct orientation), Whilst the masks are rotated to landscape.