I've followed Androids tutorial on how to take a full-size picture. (https://developer.android.com/training/camera/photobasics#java - The part "Save the full-size photo")
The resulting image I get is however ALWAYS in landscape mode, also if I take in Portrait mode. Also no difference whether I use the front or back camera.
I've also tried many answers from this thread and the ones that work also only give a landscape image (e.g. the answer from Vicky).
I must have the image in portrait mode though, how can I achieve this?