Thanks for the previous information. Let me know how can I then "reload" the image; I'll explain: I am writing an algorithm that at each iteration move some parts of the body of the actor, then it renders the current scene in order to obtain an image.I save this image into a file and then I open it to use it as an array of pixels. Here is the code :
actorFig=TheFig.Actor("waist")
actorFig.ParameterByCode(poser.kParmCodeYROT).SetValue(xloc[0])
actorFig=TheFig.Actor("Right Forearm")
actorFig.ParameterByCode(poser.kParmCodeYROT).SetValue(xloc[1])
scene.Render()
scene.SaveImage("bmp","C:\Documents and Settings\posizionefin.bmp")
immagine2 = Image.open('C:\Documents and Settings\posizionefin.bmp')
pix2 = immagine2.load()
How can I do the same thing without saving a file? Thanks