# Access Frame Buffer from paraview.simple that I would write from SaveScreenshot()

**URL:** https://discourse.paraview.org/t/access-frame-buffer-from-paraview-simple-that-i-would-write-from-savescreenshot/1814
**Category:** ParaView Support
**Tags:** opengl, python
**Created:** [May 9, 2019, 10:21pm UTC](https://discourse.paraview.org/t/access-frame-buffer-from-paraview-simple-that-i-would-write-from-savescreenshot/1814 "2019-05-09T22:21:44Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![patchett2002](https://discourse.paraview.org/user_avatar/discourse.paraview.org/patchett2002/32/235_2.png) [@patchett2002](https://discourse.paraview.org/u/patchett2002)
#### Post date: [May 9, 2019, 10:21pm UTC](https://discourse.paraview.org/t/access-frame-buffer-from-paraview-simple-that-i-would-write-from-savescreenshot/1814/1 "2019-05-09T22:21:44Z")

</div>

Hello, I’m trying to access the image data from the Frame Buffer using paraview.simple so that I can analyze (calculate various metrics) the image developed in paraview.simple without utilizing the disk. Does anybody know how to do this? Thanks, John Patchett and Soumya Dutta

---

<div class="post-metadata">

### Author: ![utkarsh.ayachit](https://discourse.paraview.org/user_avatar/discourse.paraview.org/utkarsh.ayachit/32/39_2.png) [@utkarsh.ayachit](https://discourse.paraview.org/u/utkarsh.ayachit)
#### Post date: [May 10, 2019, 2:28pm UTC](https://discourse.paraview.org/t/access-frame-buffer-from-paraview-simple-that-i-would-write-from-savescreenshot/1814/2 "2019-05-10T14:28:27Z")

</div>

```python
view = GetActiveView() # or however you get your view
img = view.CaptureWindow(1) # argument is magnification factor >= 1

assert img.IsA("vtkImageData")

```

you can now use the `vtkImageData` for processing.
