[vtkusers] vtk+OS X: can't read *.tiff files

Prabhu Ramachandran prabhu_r at users.sf.net
Fri Apr 1 14:28:37 EST 2005


>>>>> "KG" == Karl Garsha <garsha at itg.uiuc.edu> writes:

    KG> An update: the crashing interpreter is due to some sort of
    KG> conflict between the PyCrust interpreter or wxWindows and
    KG> Python/VTK.  When I run a simple interpreter from the shell
    KG> prompt, I can read *.tif files.  I'm still having render
    KG> window problems though; vtkImageViewer just shows up for a
    KG> split second with nothing in it and then dissappears.  I'm
    KG> using the Carbon build. I have an older Fink VTK build that
    KG> does the same thing in X11.  I'm just calling the Render()
    KG> function of the ImageViewer, am I missing something?  An
    KG> example of the code I'm using is below.  The only wierd thing
    KG> I'm doing is using 8-bit color indexed tiff files; clearly I'm
    KG> doing something wrong but I can't seem to figure out what it
    KG> is that I'm forgetting.

It could be a library mismatch.  I ran into one pretty nasty one with
zlib in October.  See this thread:

 http://lists.wxwidgets.org/cgi-bin/ezmlm-cgi?11:mss:33378:fhggeejokfcfommhboka

It might not be of any use but you might want to run it under gdb and
see what is going on.

cheers,
prabhu



More information about the vtkusers mailing list