-
Notifications
You must be signed in to change notification settings - Fork 536
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
[问答] 请问国内移动应用主要使用图片格式 #233
Comments
目前项目:主要是png,很少的jpg,没用webp |
webp 如果大量同时显示,有卡顿现象. |
@tanranran 为啥卡顿啊,我没有发现这个问题 |
@zourb 可能是应为测试机比较低端吧 |
主要还是png, jpg极少, 淘宝没少用webp. 但是webp 4.0低版本不支持,需要自己添加webp解析库 |
主要是png,视觉切图时,可以调透明度什么的,不过对应png格式的图像耗内存也大; |
@tanranran webp和其他图片一样,不可能出现卡顿问题的 问题问的有些模糊:是app内部的图片呢,还是用户上传的图片呢(比如头像,朋友圈图片) |
楼上的回答太赞了 |
@SwordBearer webp 相比于png 它比较吃CPU 解码的时间是PNG的8倍 |
@tanranran 解码耗时也没有那么夸张,看看这个分析 http://www.uisdc.com/image-format-webp-introduction |
做的应用图片较多,虽然现在流量都挺多,还是能减少就减少一些。使用的webp格式的图片 |
主要使用jpg,png还是压缩率更好的webp?
The text was updated successfully, but these errors were encountered: