Something to note: Since the hud, and all tools/manipulators are also part of the openGL framebuffer, they also show up in the image. This could be good or bad depending on your needs. In my case I’m already hiding all that stuff before I render my pose anyways, so it’s not an issue.

Our old pose image code was doing render() and then writing the icon file using renderWindowEditor(). This was pretty unreliable since the renderWindowPanel tends to get renamed, or not exist at all. Also of note: sometimes the call to renderWindowEditor(writeImage=path) seems to be non-blocking, causing the image to be written after the script tries to work with it, and finds it missing.