forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Icon resolution in EXE

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
Kevin



Joined: 01 Mar 2012
Posts: 34
Location: Ascot, UK

PostPosted: Wed Feb 28, 2024 3:26 pm    Post subject: Icon resolution in EXE Reply with quote

I have a .ICO file containing all resolutions from 16x16 to 256x256 32-bit.
My resource file contains the following line:

format_icon ICON NC_ICON.ICO

and my code contains:

ISTAT=WINIO@('%mi[format_icon]&')

But when I look at the properties of my EXE, it only contains the 16x16 icon and therefore the icon looks very blurry on the desktop.
I am using 32-bit FTN95 v8.80, SLINK v1.47 and SRC v4.60.
Any idea why the 256x256 image is not getting picked up ?
Thanks
Kevin
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7926
Location: Salford, UK

PostPosted: Wed Feb 28, 2024 5:51 pm    Post subject: Reply with quote

Kevin

As things are, you will probably need to use an icon file that contains only the 256x256 image. Otherwise it looks like you will get the first image in the file.
Back to top
View user's profile Send private message AIM Address
wahorger



Joined: 13 Oct 2014
Posts: 1217
Location: Morrison, CO, USA

PostPosted: Wed Feb 28, 2024 11:24 pm    Post subject: Reply with quote

Or, place the 256x256 icon first in the .ico file.
Back to top
View user's profile Send private message Visit poster's website
Kevin



Joined: 01 Mar 2012
Posts: 34
Location: Ascot, UK

PostPosted: Thu Feb 29, 2024 11:45 am    Post subject: Reply with quote

That's great thanks. All good now.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
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


Powered by phpBB © 2001, 2005 phpBB Group