Windows explorer shows my icon smaller than they should be

For everything that's not in any way related to PureBasic. General chat etc...
User avatar
doctorized
Addict
Addict
Posts: 856
Joined: Fri Mar 27, 2009 9:41 am
Location: Athens, Greece

Windows explorer shows my icon smaller than they should be

Post by doctorized »

I make an app and I use an icon group that includes sizes: 16x16, 24x24, 32x32, 48x48, 64x64, 96x96 and 128x128. I did it to appear a large icon when the user selects large or extra large icons option. I compiled my app and found out that when these large options are selected, the icon size 48x48 appears and it seems too small. As you see in this image here the icon group itself appears with the size 128x128 and the app with 48x48. Why?
I did a small google search but found nothing as I coundn't match my search criteria with any of the results.
fryquez
Enthusiast
Enthusiast
Posts: 369
Joined: Mon Dec 21, 2015 8:12 pm

Re: Windows explorer shows my icon smaller than they should

Post by fryquez »

I noticed the same, exe thumbnail image sticks on 48x48 while ico one sizes correctly.
But if you add a 256x256 image to the icon and It should work.
Denis
Enthusiast
Enthusiast
Posts: 704
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Re: Windows explorer shows my icon smaller than they should

Post by Denis »

According this
https://docs.microsoft.com/en-us/window ... /vis-icons
Application icons and Control Panel items: The full set includes 16x16, 32x32, 48x48, and 256x256 (code scales between 32 and 256).
There are other explanations about icon dpi.

So I think fryquez is right.


and axialis here (Recommended sizes)
https://www.axialis.com/tutorials/tutor ... on.html#t3
A+
Denis
Post Reply