On Sat, 2009-11-14 at 14:00 +0000, Arve Knudsen wrote:
> I am experiencing that osgDB::readImageFile is unable to load PNGs. Is there 
> any way I can query the error cause?

Inside the osgdb_png loader code (or ANY loader code, for that matter),
the ReaderWriter object returns a ReadResult object during it's loading
process. This ReadResult can actually be a number of different things
(including a descriptive std::string), but it is generally an enum
inside ReadResult itself, and not very helpful. :(

Send me your PNG and I'll figure it out.

> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=19657#19657
> 
> 
> 
> 
> 
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> 
-- 
Follow us on Twitter! http://twitter.com/emperorlinux

EmperorLinux, Inc.
http://www.emperorlinux.com
1-888-651-6686

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to