<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Thanks David.<br>So, when i set <br>windowToImageFilter-&gt;SetMagnification(3); <br>it sets the resolution to 3 times the resolution of the vtk window?<br>For example i have a window 230x250, it goes to 460x500?<br><br>&gt; Date: Tue, 12 Oct 2010 07:38:51 -0400<br>&gt; From: daviddoria@gmail.com<br>&gt; To: billno123@hotmail.com<br>&gt; CC: vtkusers@vtk.org<br>&gt; Subject: Re: [vtkusers] saving the window to a file<br>&gt; <br>&gt; On Tue, Oct 12, 2010 at 6:00 AM, Bill Chivas &lt;billno123@hotmail.com&gt; wrote:<br>&gt; &gt; Hello,<br>&gt; &gt;<br>&gt; &gt; i want to save the window to a file (e.g. tiff format). I know there is the<br>&gt; &gt; vtkTIFFWriter but i wanted also to have an option for the resolution of the<br>&gt; &gt; saved image.<br>&gt; &gt; Any ideas?<br>&gt; &gt;<br>&gt; &gt; Thanks<br>&gt; <br>&gt; I believe you're looking for vtkWindowToImageFilter.<br>&gt; <br>&gt; There is an example here:<br>&gt; http://www.vtk.org/Wiki/VTK/Examples/Cxx/Utilities/Screenshot<br>&gt; <br>&gt; Note this line:<br>&gt;   windowToImageFilter-&gt;SetMagnification(3); //set the resolution of<br>&gt; the output image<br>&gt; <br>&gt; David<br>&gt; _______________________________________________<br>&gt; Powered by www.kitware.com<br>&gt; <br>&gt; Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<br>&gt; <br>&gt; Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<br>&gt; <br>&gt; Follow this link to subscribe/unsubscribe:<br>&gt; http://www.vtk.org/mailman/listinfo/vtkusers<br>                                               </body>
</html>