Rotate image from rolling shutter camera


I’m using the ZeroCam FishEye camera and I’d like to change the orientation of the camera. However as a result the images end up being rotated as well, I assume this is the result of the rolling shutter camera technique. Now my question is how to efficiently change the image rotation within your ROS node? Or is it already built in,like with the raspivid and raspicam packages?