Rotate image by arbitrary angle