fankes / AndroidNotifyIconAdapt

An online rules platform that adapts native notification icons and standard icon repairs for non-standard Android apps and manufacturers.
GNU Affero General Public License v3.0
344 stars 93 forks source link

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

Closed Giresharu closed 9 months ago

Giresharu commented 10 months ago

QQ图片20231219172315

fankes commented 9 months ago

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

Giresharu commented 9 months ago

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

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

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

fankes commented 9 months ago

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

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

Giresharu commented 9 months ago

已修复