Hi,

I have been doing some image stuff lately. JPEGs and PNGs load right but 
BMPs are upside down. Is this a feature or a bug?

At the moment I am doing this for remedy:

Code:

    osg::Image* image = osgDB::readImageFile(filename);
    if(filename.substr(filename.length()-3) == "bmp") {
        image->flipVertical();
    }





Just thought I share this.

Thank you!

Cheers,
stefan

------------------------
stefan hechenberger

http://linear.nortd.com

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=16993#16993





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

Reply via email to