Access current image

Hello there :slight_smile:

I’m trying to make some editing on scene z-buffer using Python script.
So I make a scene z-buffer using compositing nodes and… here’s the point: to get access to what I rendered I need to save the render to file and load it back again?.. I haven’t found any way around it - in some prev version of Blender/Python there was Image.getCurrent() function, but it’s not there anymore. Also I can’t get access to bpy.context.edit_image (as it’s said to be the Image type and would be perfect for me) - Blender states that there’s no edit_image in context (though in doc it’s clearly said it is there http://www.blender.org/documentation/blender_python_api_2_66_release/bpy.context.html).

Can any1 help me or there is no way around this?