OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

Opening .ico image files with osgDB::readImageFile


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
ceranco (Eran Cohen)
Newbie


Joined: 15 Dec 2017
Posts: 19

PostPosted: Wed Mar 07, 2018 7:41 am    Post subject:
Opening .ico image files with osgDB::readImageFile
Reply with quote

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
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 12264

PostPosted: Wed Mar 07, 2018 8:51 am    Post subject:
Opening .ico image files with osgDB::readImageFile
Reply with quote

Hi Eran,

On 7 March 2018 at 07:41, Eran Cohen <> wrote:
Quote:
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.


------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts Write Image From texture Generated by... GarfieldPig General 1 Wed May 08, 2019 11:42 am View latest post
No new posts Recent mods to XmlParser giving error... Trajce Nikolov NICK General 0 Wed Apr 17, 2019 11:09 am View latest post
No new posts Image capture in memory icf80 General 12 Fri Apr 12, 2019 6:11 pm View latest post
No new posts Image::copySubImage freqfly General 0 Tue Dec 04, 2018 12:32 pm View latest post
No new posts Missing 'png' image reader sdef General [3rdparty] 2 Mon Nov 12, 2018 5:51 am View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP