I am trying to modify a little bit the source code of blender to fit it to my needs. Does anybody know which function is responsible for saving a rendered image to file? Thanks in advance.
What I would be interested in is how to invoke the whole 'saving image' procedure, which is called for example after every frame in rendering an animation. I just want to call such a function in the process of rendering.