Hi,

You probably figured this out, but outstanding issues on forums bug me, and 
this will help others.

When you open fout, you want to denote it as binary output. So something like 
this should fix it:

Code:
std::ofstream fout("new.jpg", ios::binary); 



Cheers,
Jon

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





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

Reply via email to