Adds option to rotate the image

Adds option to rotate the image around X, Y, Z, XY, XZ, XYZ and YZ