<div dir="ltr">Hello <br><br>I&#39;m want to write the result of this code to png file and I found the writer <br><br>WriteImage()<br><br>the thing is that in Paraview&#39;s tutorials I found the writer with two arguments like the following <br>
<br><br>
view.WriteImage(&quot;example.png&quot;,&quot;vtkPNGWriter&quot;)<br><br>but when I run that from the termianl using pvpython I got an error says that WriteImage() takes three arguments, so I found the following in one of the websites <br>

<br>view.WriteImage(&quot;example.png&quot;,&quot;vtkPNGWriter&quot;,1)<br><br>and when I did that, it worked and wrote an image that has a size of 400*400<br><br>when I changed the last argument to 2 I got an image that have the size 800*800 <br>
<br>so what does the third argument refers to ? and why is it not working with only two arguments ?<br><br>hope someone can help<br><br>thanks<br>
</div>

<br>
<div><hr></div><font face="Arial" size="1">This message and its contents, including attachments are intended solely for the original recipient. If you are not the intended recipient or have received this message in error, please notify me immediately and delete this message from your computer system. Any unauthorized use or distribution is prohibited. Please consider the environment before printing this email.</font>