[osg-submissions] [Fwd: TIFF plugin incorrectly reads colormapped TIFF files]
Ralph Kern
usenet04 at rk-se.de
Thu Aug 30 05:32:20 PDT 2007
I guess that submission has been dropped due to the server switch a
month ago...
So I try resubmitting it.
regards Ralph
-------- Original-Nachricht --------
Betreff: TIFF plugin incorrectly reads colormapped TIFF files
Datum: Mon, 23 Jul 2007 11:46:30 +0200
Von: Ralph Kern <usenet04 at rk-se.de>
An: osg-submissions-openscenegraph.org at lists.openscenegraph.org
hi,
the attached color mapped TIFF file klink1_l.tif is incorrectly read as
GL_LUMINANCE data instead of GL_RGB data. You can easily check with
"osgViewer --image klink1_l.tif".
The bug is in ReaderWriterTIFF.cpp function simage_tiff_load, where
numComponents_ret is incorrectly set to 1 instead of 3 for color mapped
data. I included a patch against latest release version OSG 2.0
(2007/06/15).
regards Ralph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tiffbug.zip
Type: application/x-zip-compressed
Size: 9330 bytes
Desc: not available
Url : http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20070830/16c101a8/attachment-0001.bin
More information about the osg-submissions
mailing list