[vtkusers] Screenshots

Gregory Bleiker gregory.bleiker at phonak.ch
Wed Jun 5 12:11:27 EDT 2002


Hi all
I'm using 

	vtkWindowToImageFilter* l_w2if= vtkWindowToImageFilter::New();
	l_w2if->SetInput(RenderWindow);
	
	vtkJPEGWriter* l_wr= vtkJPEGWriter::New();
	l_wr->SetInput(l_w2if->GetOutput());
         l_wr->SetQuality(100);
	l_wr->SetFileName("screenshot.jpg");
	l_wr->Write();

to do screenshots. However, the quality is not as good as the image rendered on the screen. Any help or ideas would be highly appreciated.

Gregi




More information about the vtkusers mailing list