Hi, As part of a Bugfix for osgearth I found a problem within osg's tiff plugin (ReaderWriterTIFF.cpp):
http://forum.osgearth.org/sqlite3-caching-with-TIFFs-Bugfix-td6049357.html#a6192153 In essence: When using the ReaderWriter on a std::stringstream the seeking operation should not seek over the end of existing data. The LibTiff code does this and that results in libtiffs internal fail bit to be set and thus not writing a correct TIFF file into the stringstream. The solution I used locally can be found at the URL above. I just pad the missing sections with zero before seeking. Is my solution feasible or is there a better solution? Thank you! Cheers, Oliver ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=37788#37788 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

