We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 setting the icon on the window, the image is scaled very poorly, producing an extremely low resolution taskbar icon.
example:
The actual image file is a 1,000 x 1,000 png.
The text was updated successfully, but these errors were encountered:
Relevant: https://stackoverflow.com/questions/55188668/is-it-possible-to-give-awt-applications-sharp-taskbar-icons-in-windows-10
Sorry, something went wrong.
Similar issue on the window icon.
Same root cause - Compose loads only one bitmap:
compose-multiplatform/components/resources/library/src/commonMain/kotlin/org/jetbrains/compose/resources/ImageResources.kt
Line 58 in 94bda44
And then "someone" scales it badly.
A correct icon painter would load all the bitmaps, and choose the appropriate one for the context being rendered onto.
The ICO file provided contains a perfectly good 16x16 bitmap which looks fine
(lightness of image is mostly due to an HDR-related bug in Snipping Tool)
But what you get from Compose is:
You can argue that the first image is discernably a rat, while the second image .....
New icon from SaltQueen
4d3aa4f
Still renders like garbage due to JetBrains/compose-multiplatform#83 but we have an icon!
m-sasha
No branches or pull requests
When setting the icon on the window, the image is scaled very poorly, producing an extremely low resolution taskbar icon.
example:
note both the taskbar and the decorator icons are poorly scaled
The actual image file is a 1,000 x 1,000 png.
The text was updated successfully, but these errors were encountered: