View previous topic :: View next topic |
Author |
Message |
Kevin
Joined: 01 Mar 2012 Posts: 34 Location: Ascot, UK
|
Posted: Wed Feb 28, 2024 3:26 pm Post subject: Icon resolution in EXE |
|
|
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 |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8018 Location: Salford, UK
|
Posted: Wed Feb 28, 2024 5:51 pm Post subject: |
|
|
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 |
|
|
wahorger
Joined: 13 Oct 2014 Posts: 1226 Location: Morrison, CO, USA
|
Posted: Wed Feb 28, 2024 11:24 pm Post subject: |
|
|
Or, place the 256x256 icon first in the .ico file. |
|
Back to top |
|
|
Kevin
Joined: 01 Mar 2012 Posts: 34 Location: Ascot, UK
|
Posted: Thu Feb 29, 2024 11:45 am Post subject: |
|
|
That's great thanks. All good now. |
|
Back to top |
|
|
|