From 192dbe919b27f43d6c925299eb27f9a8f1d572e7 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 30 Mar 2007 14:57:01 +0000 Subject: [PATCH] Added support 16bit intensity formats --- src/osgPlugins/tiff/ReaderWriterTIFF.cpp | 37 ++++++++++++++++-------- 1 file changed, 25 insertions(+), 12 deletions(-) diff --git a/src/osgPlugins/tiff/ReaderWriterTIFF.cpp b/src/osgPlugins/tiff/ReaderWriterTIFF.cpp index 8656996d2..3fb133e02 100644 --- a/src/osgPlugins/tiff/ReaderWriterTIFF.cpp +++ b/src/osgPlugins/tiff/ReaderWriterTIFF.cpp @@ -264,6 +264,7 @@ checkcmap(int n, uint16* r, uint16* g, uint16* b) static void invert_row(unsigned char *ptr, unsigned char *data, int n, int invert, uint16 bitspersample) { + // osg::notify(osg::NOTICE)<<"invert_row "<