[vtkusers] Exporting the render window contents as a PNG file

Sebastian Gatzka sebastian.gatzka at stud.tu-darmstadt.de
Tue Mar 30 09:08:17 EDT 2010


Nice feature. This is very interesting for me, too!
Can I even set the resolution of the image (dpi) to get *really good* 
printing results?!

Am 30.03.2010 15:02, schrieb David Doria:
> On Tue, Mar 30, 2010 at 7:46 AM, David E DeMarle
> <dave.demarle at kitware.com>  wrote:
>    
>> Try this:
>> vtkRenderWindow ->  vtkWindowToImageFilter ->  vtkPNGWriter
>>
>> cheers,
>>
>> David E DeMarle
>>      
> Here is an example of what David DeMarle said:
>
> http://www.vtk.org/Wiki/VTK/Examples/Screenshot
>
> Please have a look through
> http://www.vtk.org/Wiki/VTK/Examples/
>
> There is likely an example of anything you could be looking for!
>
> Thanks,
>
> 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
>
>    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100330/009082bb/attachment.htm>


More information about the vtkusers mailing list