It seems, your original photo contains EXIF metadata records. Among others, it can contain additional instructions how to process the image before being shown. Some apps/SDKs do respect that instructions, others silently ignore EXIF – this is why you can receive such thing as mirroring etc.
There are 8 possible EXIF orientation values, numbered 1 to 8.
- 0 degrees – the correct orientation, no adjustment is required.
- 0 degrees, mirrored – image has been flipped back-to-front.
- 180 degrees – image is upside down.
- 180 degrees, mirrored – image is upside down and flipped back-to-front.
- 90 degrees – image is on its side.
- 90 degrees, mirrored – image is on its side and flipped back-to-front.
- 270 degrees – image is on its far side.
- 270 degrees, mirrored – image is on its far side and flipped back-to-front.
solved Printed JPG image with mirrored output [closed]