rather than rotating the rotated pic (how I read what you're trying to do) ... I'd try to figure why it is autorotating the pic, and stop that ...
try the simple stuff ... google "why does mathcad rotate pictures to portrait" ... this is typical ...
How to rotate Mathcad Image photo? | | | Convert Mathcad Image photos
You can use our software Contenta Converter PREMIUM to rotate thousands of Mathcad Image photo. Download now
Step 1: Select your Mathcad Image photo photos
Click on the Add Photos button and select from your computer the Mathcad Image photo photos you wish to rotate. Then click the ‘Next’ button.
Step 2: Rotate your Mathcad Image photo photos
Go the Advanced tab and select Add Effect/Annotation->Composition->Rotate. You will be able to enter the angle of the rotation (in degrees). Click Start! and your Mathcad Image photo photos will soon be rotated.
this involves some 3rd party software, but there also were hits from mathcadhelp.com describing how to manipulate images.
"Hoffen wir mal, dass alles gut geht !"
General Paulus, Nov 1942, outside Stalingrad after the launch of Operation Uranus.