Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-size icons only render as 16x16 icons in Windows #21

Closed
curio77 opened this issue Aug 8, 2018 · 5 comments
Closed

Multi-size icons only render as 16x16 icons in Windows #21

curio77 opened this issue Aug 8, 2018 · 5 comments

Comments

@curio77
Copy link

curio77 commented Aug 8, 2018

Creating and embedding a multi-size icon file for Windows binaries still only has them render at 16x16, resulting in a pixelated result if scaled up (showing on the desktop, in the start menu or with a larger icon size in the Windows file system explorer). I'm not embedding a manifest, only the icon.

I have verified that the icon file itself (including sizes 16, 24, 32, 48, and 256) is OK by scaling the view with it showing in the file system explorer, resulting in a smooth view, as expected.

I suppose that there must be something about the way rsrc embeds the icon that results in Windows always rendering it as 16x16 and upscaling rather than choosing more appropriate resolutions. Any ideas?

@curio77
Copy link
Author

curio77 commented Aug 8, 2018

FWIW, the same is true if I embed separate icons (one for each size).

And also, in an application created by other means (cmake-created Qt application), the same multi-size icon works.

@curio77
Copy link
Author

curio77 commented Aug 12, 2018

OK, that was with Windows 7 (don't ask why); in Windows 10, it works just fine. :-)

@curio77
Copy link
Author

curio77 commented Aug 13, 2018

Well, not sure about Windows 7 either, but definitely affecting Windows Server 2008. Since that's ancient, let's close this.

@curio77 curio77 closed this as completed Aug 13, 2018
@akavel
Copy link
Owner

akavel commented Aug 13, 2018

Eh, lol, so that's apparently the case of problems resolving themselves on their own if one waits long enough ;) this being actually quite fast in this case :P thanks for the report and the closure! :) Unfortunately, it seems I'm not really actively maintaining rsrc as of now... Don't have much motivation for doing that...

@curio77
Copy link
Author

curio77 commented Aug 13, 2018

Figured as much and didn't have the time or motivation myself to investigate further. ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants