[vtkusers] libtiff and vtk

Andy Cedilnik andy.cedilnik at kitware.com
Tue Mar 11 08:57:08 EST 2003


Hi Sebastien,

What exactly do you mean by compressed tiff? Zlib, Old Jpeg, New Jpeg?
You have to be just a little bit more specific. I thing vtk TIFF reader
can read Zlib and New Jpeg compressed files. Please correct me if I am
wrong.

You can also do a simple test:

import vtk
import sys
r = vtk.vtkTIFFReader()
w = vtk.vtkPNGWriter()
w.SetInput(r.GetOutput())
r.SetFileName(sys.argv[1])
w.SetFileName(sys.argv[1]+".png")
w.Write()

Now call this with couple of your favorite TIFF files and see what
happens.

			Andy

On Tue, 2003-03-11 at 08:47, Sebastien MARAUX wrote:
> the precedent mail made me wonder a few things.
>  
> Does windws binaries of vtk use libtiff ?
> In this case does VTK manage compressed tiff ?





More information about the vtkusers mailing list