Robert Osfield | 3 Sep 2007 11:47
Picon

Re: [Fwd: TIFF plugin incorrectly reads colormapped TIFF files]

Thanks Ralf, fix now merged and submitted to SVN.

On 8/30/07, Ralph Kern <usenet04@...> wrote:
> 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@...>
> An:     osg-submissions-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
>
>
>
> _______________________________________________
> osg-submissions mailing list
> osg-submissions@...
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
>

Gmane