[vtkusers] Xlib: unexpected async reply (sequence 0xceb)!

Jeff Lee jeff at cdnorthamerica.com
Wed Apr 10 15:30:36 EDT 2002


see cvs version of vtkPanel.java in Wrapping/Java/
-Jeff

ahmed Tokalak wrote:

>Hello vtk-lovers,
>
>While trying to save the scene as an image the following error occured:
>Xlib: unexpected async reply (sequence 0xceb)!  
>I'm using vtk4.0 + java + linux
>
>Here is my code:
>
>
> public void saveScene(vtkRenderWindow window, String file){
>        vtkWindowToImageFilter wtif = new vtkWindowToImageFilter();
>        wtif.SetInput(window);
>        wtif.Update();
>        vtkJPEGWriter jpeg = new vtkJPEGWriter();
>        jpeg.SetFileName(file + ".jpg");
>        jpeg.SetInput(wtif.GetOutput());
>        jpeg.SetQuality(95);
>        jpeg.Write();
>    }
>________________________________________________________________
>Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! 
>Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13
>
>
>_______________________________________________
>This is the private VTK discussion list. 
>Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers
>
>





More information about the vtkusers mailing list