you can use imageedit ocx

Imgedit1.Image = path to picture
Imgedit1.Display
Imgedit1.RotateRight or RotateLeft this rotates your image 90°
Imgedit1.Save