[Paraview] Accessing window pixel data from python

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Mon Jan 20 10:31:02 EST 2014


I am not sure I understand what you're trying to do. Do you want to
access the pixel buffer to "read" the image rendered by ParaView or
"write" to the image rendered in ParaView?


Utkarsh

On Mon, Dec 30, 2013 at 11:31 AM, Richard Townsend
<townsend at astro.wisc.edu> wrote:
> 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
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview


More information about the ParaView mailing list