Silverfrost Forums

Welcome to our forums

Icon resolution in EXE

28 Feb 2024 2:26 #31164

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

28 Feb 2024 4:51 #31165

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.

28 Feb 2024 10:24 #31167

Or, place the 256x256 icon first in the .ico file.

29 Feb 2024 10:45 #31171

That's great thanks. All good now.

Please login to reply.