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

游戏图标支持彩色掩码图标 #956

Merged
merged 2 commits into from
Jun 23, 2024
Merged

游戏图标支持彩色掩码图标 #956

merged 2 commits into from
Jun 23, 2024

Conversation

Blinue
Copy link
Owner

@Blinue Blinue commented Jun 23, 2024

虽然很少见,但确实存在可执行文件的图标是彩色掩码图标的情况。注意彩色掩码图标可能无法无损转换到常规图标,如果遇到不支持的情况就直接使用掩码作为颜色;渲染光标时我们使用着色器来正确应用掩码。

当前:
image
此 PR:
image

依然不支持单色图标,难以想象可执行文件的图标会是单色图标。如果真的存在,以来再来支持。

@Blinue Blinue merged commit 777c663 into dev Jun 23, 2024
4 checks passed
@Blinue Blinue deleted the masked-color-icon branch June 23, 2024 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant