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

融合图片失去彩色,变成了黑白 #57

Closed
JiongXing opened this issue Mar 8, 2021 · 8 comments
Closed

融合图片失去彩色,变成了黑白 #57

JiongXing opened this issue Mar 8, 2021 · 8 comments

Comments

@JiongXing
Copy link

JiongXing commented Mar 8, 2021

问题描述:
在iPhone11, iOS 14.1播放融合动画,融合两张图片分别为:
leftAvatar:http://thirdqq.qlogo.cn/g?b=sdk&k=yo8sByOqgQtgxlHErCpxGg&s=100&t=0
rightAvatar:http://thirdqq.qlogo.cn/g?b=sdk&k=5asF1cexgbMvlLTHoiadyJg&s=140&t=1602746839
其中左图变成了黑白,右图正常。
企业微信截图_294ab649-cbe8-4905-a804-08811dea0a2d

在iPhone 11, iOS 13.6.1显示正常:
企业微信截图_541a9ce9-26a9-471a-b502-1976d1ad1d16

动画资源,具体联系企业微信:jasonxliang

@hexleo
Copy link
Collaborator

hexleo commented Mar 8, 2021

收到,我们看看

@hexleo
Copy link
Collaborator

hexleo commented Mar 18, 2021

@JiongXing 你们解决了吗?怎么解决的?

@JiongXing
Copy link
Author

@JiongXing 你们解决了吗?怎么解决的?

没有彻底解决。是把图片下载下来,判断如果有透明通道,就转为JPEG,然后设置转换后的图片进去

@JiongXing
Copy link
Author

@JiongXing 你们解决了吗?怎么解决的?

发现规律是,某个旧版的SDWebImage缓冲的PNG图片,取出来融合进动画就变灰图

@JiongXing
Copy link
Author

http://thirdqq.qlogo.cn/g?b=sdk&k=ic4B18wjJ5T6YT1ayM77wuQ&s=100&t=12
这张PNG,通过NSData下载下来,转为UIImage设置进动画,就完全变黑了,没法显示出图

@JiongXing JiongXing reopened this Mar 18, 2021
@hexleo
Copy link
Collaborator

hexleo commented Mar 18, 2021

还是这个系统版本发生的问题是吗 iPhone11, iOS 14.1

@JiongXing
Copy link
Author

任意系统任意手机

@sauchye
Copy link

sauchye commented Oct 18, 2021

这里是素材,感谢斌儿
rr_video.zip

融合图片出现背景色

RPReplay_Final1634550744.mov

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

No branches or pull requests

4 participants