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: 13

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: 12148

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 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
No new posts What's the status of .osg files? hunter789 General 2 Fri Nov 02, 2018 1:26 am View latest post
No new posts Read Image from RTT romulogcerqueira General 6 Thu Sep 27, 2018 7:06 pm View latest post
No new posts osgDB::OutputStream write array optim... Farshid Lashkari Submission 2 Thu Sep 20, 2018 11:17 pm 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