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

添加奇游联机宝的适配 #445

Merged
merged 4 commits into from
Dec 21, 2023
Merged

添加奇游联机宝的适配 #445

merged 4 commits into from
Dec 21, 2023

Conversation

Giresharu
Copy link
Contributor

QQ图片20231219172315

@fankes
Copy link
Owner

fankes commented Dec 19, 2023

你好,图标不能被系统识别为有颜色的

@Giresharu
Copy link
Contributor Author

之前忘了先转灰度了,不好意思,已修复。

不过顺带一提:我比较好奇为什么用的是灰度而不是纯白图。
如果是 灰度 * iconColor 来求得正片叠底的颜色的话,是不是会比原图更灰?是不是需要在做灰度图和填写颜色时考虑这件事情?
还是说有通过其他方式来还原颜色呢?比如说代码中有线性映射来把图片灰度最亮的地方映射到白色再来算正片叠底?

Screenshot_2023-12-20-18-54-54-24_1584f1d8cc4c3ef

@fankes
Copy link
Owner

fankes commented Dec 21, 2023

这个后面是想用矢量图的,因为在安卓上 svg 转换的 vector 是最准确的,识别 png 的色域有可能不准,这就是为什么一定要纯白色或者纯黑色的底色才能识别

还有无意外情况还请把新添加的图标放到最后一位

@Giresharu
Copy link
Contributor Author

已修复

@fankes fankes merged commit 1de44a4 into fankes:main Dec 21, 2023
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants