Nothing to do with Compose then. I don’t think it’s a solvable problem in general. Maybe there’s some heuristics that can be employed for faces and “rooted” objects like trees or buildings, but you can’t solve all the cases. I would ask you a question - what is the “original” orientation for an arbitrary image?