-
Notifications
You must be signed in to change notification settings - Fork 29
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
when i use it to set menu tray icon, it looks sharper #17
Comments
Your .ico file contains 4 different versions of the same image - 16x16, 24x24, 32x32, and 48x48. From https://www.autohotkey.com/docs/commands/Menu.htm#Icon
So use the .ico format, with Further testing may be needed with single dimension .ico files. |
i tested single dimension .ico files, but still have this problem. |
Looks like different interpolation by windows to me: The first cat is your 16x16 icon, and the third cat the 24x24 icon. As you can see, what is shown on the tray is something between 16 and 24. I don't really know why this is happening, but my best guess is that a different algorithm is used to scale ico vs hbitmaps. I think:
|
Feel free to leave this issue open, maybe there is something I can do, but it's not obvious to me now |
Possible info: https://stackoverflow.com/a/76398324 |
test.zip
here is test file.
pic1 is normal

pic2 is sharper

The text was updated successfully, but these errors were encountered: