[vtkusers] vtkPNGReader

Michael Dussere dussere at labri.fr
Mon Jan 12 06:21:04 EST 2004


Hi David,

Why don't you use something like this ? :

vtkPNGReader *pngreader = vtkPNGReader::New();
  pngreader->SetFileName("blabla");

vtkImageViewer *viewer = vtkImageViewer::New();
  viewer->SetInput(pngreader->GetOutput());

Does it produce any error or what ???

Michael.





More information about the vtkusers mailing list