I have a osg::image with pixel format of GL_BGRA. I need to convert it
to GL_RGB so that I can write out any generic type of image with osgDB
(i.e., jpg, png, tiff, etc). Is there an easy way to convert the _data
in the image to be in some other format? I could obviously do this
myself with a simple loop, but I wanted to see if there was a simple OSG
way.
writeImageFile is still commented out in the osgscreencapture.cpp
example, and I wonder if it's a similar problem.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org