[osg-users] Fetch png image from the web

Raymond de Vries reedev at xs4all.nl
Tue Dec 5 06:31:00 PST 2017


Hi Bruno,

Have you checked yourself? I guess not.... Check the sources please:

https://github.com/openscenegraph/OpenSceneGraph/tree/master/src/osgPlugins/curl
https://github.com/openscenegraph/OpenSceneGraph/tree/master/src/osgPlugins/png

Nice, right?!

Cheers
Raymond



On 5-12-2017 15:25, Bruno Oliveira wrote:
> I was wondering if OSG had wrappers for cUrl and libpng!
>
> 2017-12-02 19:27 GMT+00:00 Raymond de Vries <reedev at xs4all.nl 
> <mailto:reedev at xs4all.nl>>:
>
>     Hi Bruno,
>
>     Did you try it just by using a full url? I believe that when you
>     have the curl plugin built, and the png plugin of course, it will
>     work as you expect.
>
>     Cheers
>     Raymond
>
>
>     Verstuurd vanaf mijn iPad
>
>     > Op 2 dec. 2017 om 19:21 heeft Bruno Oliveira
>     <bruno.manata.oliveira at gmail.com
>     <mailto:bruno.manata.oliveira at gmail.com>> het volgende geschreven:
>     >
>     > Hey,
>     > are there any helpers on OSG for downloading a PNG image from
>     the web and creating a osg::Image object from it?
>     > _______________________________________________
>     > osg-users mailing list
>     > osg-users at lists.openscenegraph.org
>     <mailto:osg-users at lists.openscenegraph.org>
>     >
>     http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>     <http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org>
>
>     _______________________________________________
>     osg-users mailing list
>     osg-users at lists.openscenegraph.org
>     <mailto:osg-users at lists.openscenegraph.org>
>     http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>     <http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org>
>
>
>
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> 
> 	Virusvrij. www.avg.com 
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> 
>
>
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20171205/699399f9/attachment.html>


More information about the osg-users mailing list