-
Notifications
You must be signed in to change notification settings - Fork 19
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
Non-accurate color when using local file icon #24
Comments
The problem appears to be in the FromStream extension, I suspect FromStream passes non-palette pngs' pixels unswizzled. The serialisation provider's WritableBitmapToBase64Async is looking for RgBa8, FromStream is clearly BgR8 for the blue and red to swap. Replace the following in the IconService.cs to fix this bug
|
Hi, Thank you so much for this! Feel free to open a Pull Request if you want to contribute to it, or I can make one this weekend probably :) |
Hi, Your welcome on the fix, as I am in the middle of a few things can I get you to apply the fix if you are happy with it. |
Describe the bug
Using the following image as an icon will transform the blue of the sky to orange.
Additional context
It's probably due to some sort of encodage.
The text was updated successfully, but these errors were encountered: