# How to get values from pixel information bar on the image editor using blender python

Does anyone know how to get these value from the pixel information bar below and have them save in text file using blender python?

• The information are the X and Y coordinates of the pixel, Z is the depth at the pixel. The RGBA are the color and alpha of the pixel, followed by the display transformed values in RGB and HSV and the Luminance. You can't directly access the output produce by ED_image_draw_info(), but you could get the information from the render image and its passes. – Robert Gützkow Nov 9 '19 at 13:27
• @RobertGützkow thank you for the explanation. Do you know how to get the information from the render image using blender python? And what do you mean by "passes"? – NabilaM Nov 12 '19 at 7:43
• It's not straight forward: blender.stackexchange.com/questions/2170/… – Robert Gützkow Nov 12 '19 at 10:57
• @RobertGützkow Thank you! This link is really helping. I also found other script that gives similar output. You can find it here: blender.stackexchange.com/questions/35191/… – NabilaM Dec 19 '19 at 1:36