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

ahmed Tokalak tokalak at web.de
Thu Apr 4 08:43:08 EST 2002


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





More information about the vtkusers mailing list