Rotate

Context:

If you need to quickly rotate your image x degrees, then use the rotate function

Arguments:

  • Requires a path to your image.

  • An angle to rotate

Code:

Results:

_images/pig.png

Original Raw Image

_images/rotate90.png

Rotated 90 Degrees

_images/rotate30.png

Rotated 30 Degrees