Strange image orientation with all camera apps I've just noticed that on my Wileyfox Swift there's something strange going on with image orientation:


taking a landscape image, everything is fine: the resulting JPG is in landscape, and Exif has Orientation:0 – as one would expect.
taking a portrait image however also has Orientation:0, and the resulting JPG is in portrait – while on all my other devices, the JPG would remain landscape but have e.g. Orientation:6 (rotate 270°) in its Exif.


I've tried with multiple camera apps, including the integrated one. Two other camera apps I use on other devices as well, where they work as expected.

What might go on here, and how to fix it up? I need it the "standard way" for post processing scripts etc. Though the results "look the same" in image viewers, the technical details/differences are relevant in my case, so I wish the Wileyfox to adhere to the standards :)
I'm afraid you don't have any chance to make the image be in landscape mode when taken, if you don't have the source code of your ROM. But you can surely post-process it by yourself.

Termux provides some helpful (and famous) utilities like jhead and imagemagick. It's possible to write shell scripts that rotate portrait images into landscape and add a "Rotation" in the EXIF to "rotate" it back.