Added Image Rotation support - closes #338