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

[FEATURE REQUEST] multiple windows icons #8

Closed
matthias-steinkamp opened this issue Jun 9, 2022 · 7 comments
Closed

[FEATURE REQUEST] multiple windows icons #8

matthias-steinkamp opened this issue Jun 9, 2022 · 7 comments

Comments

@matthias-steinkamp
Copy link

matthias-steinkamp commented Jun 9, 2022

💬 Description

To get the best resolution on multiple windows explorer views (large icons, list, ...), is it possible to generate a windows .ico with multiple resolutions of the input icon file?
Also the highest resolution of 256px would be nice.

See https://stackoverflow.com/questions/3236115/which-icon-sizes-should-my-windows-applications-icon-include

❓ Platform

Windows

@matthias-steinkamp matthias-steinkamp changed the title [FEATURE REQUEST] windows 256px icons [FEATURE REQUEST] multiple windows icons Jun 9, 2022
@mrrhak
Copy link
Owner

mrrhak commented Jun 10, 2022

Hi, @matthias-steinkamp as I see flutter windows do not support multiple resolutions icons. Currently, we generate one ico file with 128px and a default ico file only 48px.

@matthias-steinkamp
Copy link
Author

Hi @mrrhak, thanks for the quick answer. I'm not a windows dev guru, but I think the rc-file specifies the .ico file and .ico files can hold several icon images for different sizes. Afterwards, windows automatically displays the right image for the desired view in file explorer etc. So I guess, it's not a flutter topic but just how many images are stored in the single .ico file.

"ICO files contain one or more small images at multiple sizes and color depths, such that they may be scaled appropriately." https://en.wikipedia.org/wiki/ICO_(file_format)

@mrrhak
Copy link
Owner

mrrhak commented Jun 10, 2022

Ohh thanks for clearly explaining. After I'm checking on this image package I think I can try to create a single .ico file from multiple sizes as you want.

@mrrhak
Copy link
Owner

mrrhak commented Jun 10, 2022

Hi @matthias-steinkamp I have added multiple sizes inside a single .ico file in the new version v1.2.1. You can check a generated .ico file here to see multiple sizes have been embedded. Thanks

@mrrhak mrrhak closed this as completed Jun 10, 2022
@matthias-steinkamp
Copy link
Author

the generated icon shows one 256px only

@mrrhak
Copy link
Owner

mrrhak commented Jun 10, 2022

I have fixed in v1.2.1

@matthias-steinkamp
Copy link
Author

Yes, it works fine! Thanks for the very fast response and help!

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