Can you call SetFileName with the full path to the file before calling Write?<div><br></div><div><br>On Saturday, November 28, 2015, Pedro Paulo <<a href="mailto:pedropaulobmjr@hotmail.com">pedropaulobmjr@hotmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">Hi, how can I save a image to a specific directory using vtkPNGWriter? Because using Write(), it saves in the same directory.<div>Thanks.</div>                                     </div></div>
</blockquote></div>