# Creating a .png file from a .vtu file

**URL:** https://discourse.vtk.org/t/creating-a-png-file-from-a-vtu-file/3564
**Category:** Support
**Created:** [June 15, 2020, 9:41pm UTC](https://discourse.vtk.org/t/creating-a-png-file-from-a-vtu-file/3564 "2020-06-15T21:41:13Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Quinn\_B](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/q/e495f1/32.png) [@Quinn\_B](https://discourse.vtk.org/u/Quinn_B)
#### Post date: [June 15, 2020, 9:41pm UTC](https://discourse.vtk.org/t/creating-a-png-file-from-a-vtu-file/3564/1 "2020-06-15T21:41:13Z")

</div>

I’m trying to create a screenshot essentially of the 2d render made from this code:

 ![py code](https://discourse.vtk.org/uploads/default/original/2X/a/a596907afc29a0a17ea1872f607095170d0937e6.png)  
I’ve been looking around to see if anyone else has done this and I’m trying to avoid just using the screenshot tool that is on my computer, but so far everything that I have found and tried doesn’t work.
