[vtkusers] save a jpg file in a specific directory

Renato Cesar Pompeu rcpompeu at hotmail.com
Sun May 16 17:23:31 EDT 2010


Hi all,

 

How do I save a jpg file in a specific directory that I can choose when saving?

 

 

...

 vtkSmartPointer<vtkJPEGWriter> writer = 
      vtkSmartPointer<vtkJPEGWriter>::New();
  writer->SetFileName("screenshot2.png");     // ?????
  writer->SetInput(windowToImageFilter->GetOutput());
  writer->Write();
...

 

 

Thanks a lot!
 		 	   		  
_________________________________________________________________
DEIXE SUAS CONVERSAS MAIS DIVERTIDAS. TRANSFORME AQUI SUAS FOTOS EM EMOTICONS, É GRÁTIS.
http://ilm.windowslive.com.br/?ocid=ILM:ILM:Hotmail:Tagline:1x1:Tagline
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100516/a0f35de0/attachment.htm>


More information about the vtkusers mailing list