Hello,
Refer the below mentioned code
import matplotlib.pyplot as plt
image_path = “c://image_test/coco/nipun.jpg”
image_tensor_int = read_image(str(Path(image_path)))
plt.imshow(image_tensor_int.permute(1, 2, 0))
The view of  image is shown with 90 degree rotation. However, when i open the image in Microsoft Paint and save the image, the view is correct
I tried to determine if there anything different with the format of the image . But could not identify any different between original image vs image saved by Microsoft Paint

nipun1920×4189 361 KB