Is that worth adding as a full script to rosbag, or at least to mention
it in the wiki somewhere? I will definitely use that more often to get
better screencaptures in RViz from bagfiles.
I've started a rosbag Cookbook on the wiki. Anyone should feel free to edit the wiki and post any useful code fragments.