Hi Robert,

On Monday 06 November 2006 14:35, Robert Osfield wrote:
> > I do at the moment not remember which ones failed but I can double check
> > that today evening.
>
> Could you post the problem files.
Ok, found one of them. The file is attached.

> I'd suspect if there is bug in the RGB loader it'll be earlier in the
> code where the sizes of the data are set up rather in the reading of
> each line where you've implemented the workaround.
It appears to me that the length of the run length encoding is wrong.
That change limits that to the min of the value from the file and the 
remaining line length. May be this is suficient?

> It'd also be interesting to load and save the problem RGB's via
> ImageMagic/gimp and then see if the OSG copes fine with the newly
> saved version.
That works.
If I do a
 convert sun.rgba SGI:othersun.rgba
the loader does not bail out.
Note that the resulting file is longer than the original one.

   Greetings

          Mathias

-- 
Dr. Mathias Fröhlich, science + computing ag, Software Solutions
Hagellocher Weg 71-75, D-72070 Tuebingen, Germany
Phone: +49 7071 9457-268, Fax: +49 7071 9457-511

Attachment: sun.rgba
Description: RGB image

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to