[vtkusers] saving the window to a file

Bill Chivas billno123 at hotmail.com
Tue Oct 12 08:01:51 EDT 2010


sorry, i meant 
"For example i have a window 230x250, it goes to 690x750?"

From: billno123 at hotmail.com
To: daviddoria at gmail.com
Date: Tue, 12 Oct 2010 11:59:59 +0000
CC: vtkusers at vtk.org
Subject: Re: [vtkusers] saving the window to a file








Thanks David.
So, when i set 
windowToImageFilter->SetMagnification(3); 
it sets the resolution to 3 times the resolution of the vtk window?
For example i have a window 230x250, it goes to 460x500?

> Date: Tue, 12 Oct 2010 07:38:51 -0400
> From: daviddoria at gmail.com
> To: billno123 at hotmail.com
> CC: vtkusers at vtk.org
> Subject: Re: [vtkusers] saving the window to a file
> 
> On Tue, Oct 12, 2010 at 6:00 AM, Bill Chivas <billno123 at hotmail.com> wrote:
> > Hello,
> >
> > i want to save the window to a file (e.g. tiff format). I know there is the
> > vtkTIFFWriter but i wanted also to have an option for the resolution of the
> > saved image.
> > Any ideas?
> >
> > Thanks
> 
> I believe you're looking for vtkWindowToImageFilter.
> 
> There is an example here:
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Utilities/Screenshot
> 
> Note this line:
>   windowToImageFilter->SetMagnification(3); //set the resolution of
> the output image
> 
> David
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
 		 	   		  

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101012/79585754/attachment.htm>


More information about the vtkusers mailing list