[vtkusers] How can i save RenderWindow as a picture file?

Amy Squillacote amy.squillacote at kitware.com
Thu Apr 20 10:25:46 EDT 2006


Use a vtkWindowToImageFilter, and pass it's output to an appropriate 
writer (vtkJPEGWriter, vtkBMPWriter, etc.).

- Amy

At 10:21 AM 4/20/2006, ccyx chen wrote:
>I'm new one to use VTK.
>I want to save RenderWindow as a picture file(like .jpg 
>.bmp...).What can i do?
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: 
>http://www.vtk.org/Wiki/VTK_FAQ
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers





More information about the vtkusers mailing list