I've got some code to write PNG files to disk, and just tryed to write something to read them back in with a vtkPNGReader, and i keep getting a bus error. The image loads fine in FireFox, ACDsee, ImageMagick, Identify, & Convert. I can convert the image to a TIF, JPG, or BMP and those files load just fine.
<br><br>The files were written with VTK, the same version on the same machine, yet it generates this error. i've attached one of the images to this email, and the backtrace is as follows:<br><br><br><span style="font-family: courier new,monospace;">
(dbx)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Thread 0x10000</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
> 0 vtk_png_read_info(png_ptr = 0x1004ff98, info_ptr = 0x1005d1c8) ["/viz/home/rhand/src/VTK/VTK-VolumeModified/Utilities/vtkpng/pngread.c":407, 0x8b20800]</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> 1 vtkPNGReader::ExecuteInformation(void)(this = 0x100484e8) ["/viz/home/rhand/src/VTK/VTK-VolumeModified/IO/vtkPNGReader.cxx":96, 0x7f19d5c]</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(dbx)</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><br>