[osg-submissions] write tiff with float

christophe loustaunau christophe.loustaunau at gmail.com
Tue Jul 8 05:24:09 PDT 2008


Hi,

For our application, we need to write tiff file in floats. I have change a
little bit the readerWritterTiff :
It check the data type of the image ( img.getDataType() ) and if it's
GL_FLOAT :It save the tiff with float values.
Otherwise it does the same thing as before.

Here is a the file ReaderWritterTiff.cpp and a patch based on the latest svn
version.

Regards.
-- 
Christophe Loustaunau.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080708/1fdcb2bd/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ReaderWritterTiff.zip
Type: application/zip
Size: 5910 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080708/1fdcb2bd/attachment.zip>


More information about the osg-submissions mailing list