Windows ico files with multiple images are downsampled or not displayed
See original GitHub issue--windows-icon-from-ico
works, but seems to downsample the source image to an unsightly degree.
The following screenshot shows the problem, with the icon on the right generated by PyInstaller from the exact same source image:
The original image can be found here. Thanks!
python -m nuitka --version
0.6.11.6
Python: 3.8.7 (tags/v3.8.7:6503f05, Dec 21 2020, 17:43:54) [MSC v.1928 32 bit (Intel)]
Executable: C:\Users\biqqles\Documents\Python\Python38-32\python.exe
OS: Windows
Arch: x86
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (9 by maintainers)
Top Results From Across the Web
Some icons get their small version, even when choosing the ...
Some icons get their small version, even when choosing the bigger size. · 1. Search and Run Task Scheduler · 2. Create Task...
Read more >ALT-TAB Application Icon Pixelated when 48x48 True Colour ...
So yeah. The answer seems simple. If you really want that backwards compatibility, just add all icon sizes in there as both true...
Read more >How do I embed multiple sizes in an .ico file? - Super User
Show activity on this post. I have seen . ico icons that have different images for multiple sizes, eg. 16x16, 32x32, 48x48, 128x128,...
Read more >How can I create a .ico file with all the various resolution sizes ...
You run the program, drag the png of your highest-resolution icon onto the window (I usually start at 128x128), and it generates the...
Read more >Downsampling High Resolution photography scans for use in ...
While you could simply start with a high resolution file and "drop" the resolution to 72ppi, the resulting file would appear quite "fuzzy"...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok, pushed it to factory https://nuitka.net/doc/factory.html as it works for me now, selecting any icon or all icons from your icon file just works. Didn’t yet document the new option for selecting single icons, that’s future work.
Thanks for the example. Nuitka surely doesn’t downsample, but Windows does. And Nuitka attempts to include all the icons, but maybe it fails in some way. I will use your example to find out what’s going on there.