Is there a reason why ReadImageStream in ReaderWriterImageIO_IOS.cpp is not 
supported in the iOS Version?

OpenSceneGraph/trunk/src/osgPlugins/imageio/ReaderWriterImageIO_IOS.cpp


Code:

ReadResult readImageStream(std::istream& fin) const
{
/*// Call ImageIO to load the image.
CGImageRef cg_image_ref = CreateCGImageFromDataStream(fin);
if (NULL == cg_image_ref) return ReadResult::FILE_NOT_FOUND;
*/
// Create an osg::Image from the CGImageRef.
osg::Image* osg_image = NULL;
//CreateOSGImageFromCGImage(cg_image_ref);

//CFRelease(cg_image_ref);
return osg_image;
}




We need to convert an ImageStream from an WVS-Server into an OSG-Image but it 
doesn't work.

thx for help 

peter :)

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





_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to