[vtkusers] vtkCanvas to Java image

Biele Biele at quantentunnel.de
Tue Jun 22 18:21:45 EDT 2004


Hi,

I have a 3D-graphic Java application using vtk. Now I want to export
images/movies to formats like .jpg, .avi etc.
The Java Media Framework (JMF) allows me to export like that but I need a
Java image like "java.awt.image.BufferedImage".
Does anybody know a way to get the picture from the vtkCanvas to a
BufferedImage?
If not, can I access the pixel data of the rendered image from my Java
application?
Or export a file (i.e. jpg) directly from vtk?

Thanks for any ideas,

Biele





More information about the vtkusers mailing list