Re: [osg-users] Opening .ico image files with osgDB::readImageFile

2018-03-07 Thread Robert Osfield
Hi Eran,

On 7 March 2018 at 07:41, Eran Cohen  wrote:
> I was wondering if there is a way to read an .ico file, preferably using 
> osgDB.

The OSG doesn't have a plugin for reading .ico files.  You'll either
need to convert the files to a supported format or write a plugin to
read the format yourself.

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


[osg-users] Opening .ico image files with osgDB::readImageFile

2018-03-06 Thread Eran Cohen
Hi,

I was wondering if there is a way to read an .ico file, preferably using osgDB. 

When I try to use it in the following way:

Code:
osg::Image* icoImage = osgDB::readImageFile("delete.ico")



icoImage is null.

Thank you!

Cheers,
Eran

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





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