See the demonstration image. Rotation Right 90° Rotation Left 90° P.s: Save automatically after rotation 
See the demonstration image.
Rotation Right 90°
Rotation Left 90°
P.s: Save automatically after rotation