[Paraview] Accessing window pixel data from python

Richard Townsend townsend at astro.wisc.edu
Mon Dec 30 11:31:02 EST 2013


Hi folks —

Newbie here. I’m wondering whether it’s possible to access the pixel buffer of a render window from within Python. I’m using Python to generate a set of plots which contain paraview-rendered images. Rather than writing the images to disk using WriteImage, and then reading them back in to create the plots using matplotlib, I’d like to access the render window pixel buffer directly. Is this possible?

Regards,

Rich



More information about the ParaView mailing list