Flip/Rotate LaTeX images

LaTeX rotation and flipping of text and images may be accomplished via graphicx.

Optional trim=left lower right upper is flipped vertically too. Trimming “lower” actually trims “upper”.

Rotation

\rotatebox[origin=c]{90}{\includegraphics[]{myimg}}
90
degrees of rotation counter-clockwise
origin=c
rotate about center of object

Vertical flip

\scalebox{1}[-1]{\includegraphics[]{myimg}}

Horizontal flip

\scalebox{-1}[1]{\includegraphics[]{myimg}}

Minimal working example

\documentclass[]{article}

\usepackage{graphicx}

\begin{document}

90 degree rotation \rotatebox[origin=c]{90}{\includegraphics[]{myimg}}

Vertical Flip \scalebox{1}[-1]{\includegraphics[]{myimg}}

Horizontal Flip \scalebox{-1}[1]{\includegraphics[]{myimg}}

\end{document}

graphicx package manual