[vtkusers] Saving JPEG
N. Yang
N.Yang at student.uva.nl
Sat Aug 5 15:24:06 EDT 2006
R u saying that you achieved off-screen rendering with your block of tcl
code without the support of mesa library?
> a block of tcl code.
>
> vtkWindowToImageFilter w2i
> w2i SetInput renWin
> vtkJPEGWriter w
> w2i Modified
> w SetInput [w2i GetOutput]
> w SetFileName $name
> w Write
>
> no mesa. it works fine even with vtk 4.2
>
> On 8/4/06, Vivek Dwivedi <vivekd at mail630.gsfc.nasa.gov> wrote:
> >
> > I saw the code but I don't want to use MESA is there a way within
> VTK> itself ?
> >
> > -Vivek
> >
> >
> > On Aug 4, 2006, at 9:18 AM, N. Yang wrote:
> >
> > > In that case you might want off-screen rendering and you can
> refer to
> > >
> > > http://www.erdc.hpc.mil/documentation/Tips_Tricks/vtk
> > >
> > > ----- Original Message -----
> > > From: Vivek Dwivedi <vivekd at mail630.gsfc.nasa.gov>
> > > Date: Friday, August 4, 2006 2:48 pm
> > > Subject: [vtkusers] Saving JPEG
> > >
> > >> Hi all:
> > >>
> > >> Quick question is it necessary to render out an image in a render
> > >> window in order to save it as an image file or can we directly
> save> >>
> > >> the image without rendering it out?
> > >>
> > >>
> > >> -Thanks
> > >>
> > >> -Vivek
> > >>
> > >>
> > >> _______________________________________________
> > >> This is the private VTK discussion list.
> > >> Please keep messages on-topic. Check the FAQ at:
> > >> http://www.vtk.org/Wiki/VTK_FAQFollow this link to
> > >>
> subscribe/unsubscribe:http://www.vtk.org/mailman/listinfo/vtkusers> >>
> >
> > _______________________________________________
> > 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