Rotate USB camera image

Hey all,
Is there an easy way to rotate the camera image 90 degrees, or should I look at creating my own function to achieve it?

We are using the USBCamera class, but since the class returns the image, I suspect it is possible to manipulate the output.

Thank you