Hi, I'm trying to convert an osg::Image to a PNG file in memory (byte array). I know I could write it to a file, then read it back in, but I was hoping for a more direct route. The goal is to then have another library read in the byte array directly. I tried just using the image->data() function, but the data appears to not have a valid image header.
Hopefully, I made my question clear. Thank you! Cheers, Adam ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=18459#18459 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org