# Getting numpy array of a rendered image [duplicate]

I am trying to communicate the output of a rendered image to another process. How I am typically familiar with rendering images is to call:

bpy.ops.render.render()


But I was wondering if there was a way to not write the image to the disc and simply get a numpy array of the output.

This is a somewhat specific question, but I would appreciate any help!

• related.. and still the same answer: blender.stackexchange.com/questions/2170/… – zeffii Sep 19 '15 at 20:34
• Hi, sorry I forgot add that I am running the process in the background. The work around suggested there only applies when blender GUI mode is on. – user16077 Sep 23 '15 at 21:34
• multiple answers are given, the others all mean saving the file to disk then re-importing ( all easy to do via a script ) then read the pixels. Presently there is no way to get pixels directly from the 'unsaved' render result. -- exactly why this limitation exists isn't clear to me. (simply unimplemented?) – zeffii Sep 24 '15 at 5:32
• Ok fair enough, this seems like a pretty expensive limitation for my application. Thanks for your help! – user16077 Sep 24 '15 at 12:36