Picasso v/s Imageloader v/s Fresco vs Glide vs Coil [英] Picasso v/s Imageloader v/s Fresco vs Glide vs Coil

查看:114
本文介绍了Picasso v/s Imageloader v/s Fresco vs Glide vs Coil的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  1. 此处为毕加索与 ImageLoader 的区别...
  2. 关于图书馆的信息GLIDE here ...
  3. Facebook 有自己的图书馆壁画
  4. 列表中的最新成员线圈


问题:

  1. Picasso v/s Imageloader v/s Fresco v/s Coil 有什么区别
  2. 哪个库最好用.
  3. 如果每个图书馆都有自己的意义,它们是什么?

推荐答案

我是 Fresco 项目的工程师之一.所以很明显我有偏见.

I am one of the engineers on the Fresco project. So obviously I'm biased.

但你不必相信我的话.我们发布了一个示例应用程序,可让您并排比较五个库(Fresco、Picasso、UIL、Glide 和 Volley Image Loader)的性能.您可以在 我们的 GitHub 存储库 中获取.

But you don't have to take my word for it. We've released a sample app that allows you to compare the performance of five libraries - Fresco, Picasso, UIL, Glide, and Volley Image Loader - side by side. You can get it at our GitHub repo.

我还应该指出 Fresco 在 Maven Central 上可用,如 com.facebook.fresco:fresco.

I should also point out that Fresco is available on Maven Central, as com.facebook.fresco:fresco.

Fresco 提供了 Picasso、UIL 和 Glide 尚不具备的功能:

Fresco offers features that Picasso, UIL, and Glide do not yet have:

  1. 图像不存储在 Java 堆中,而是存储在 ashmem 堆中.中间字节缓冲区也存储在本机堆中.这为应用程序留下了更多可用内存.它降低了 OutOfMemoryErrors 的风险.它还减少了垃圾收集应用必须执行的工作量,从而提高了性能.
  2. 渐进式 JPEG 图像可以流式传输,就像在网络浏览器中一样.
  3. 图像可以围绕任何点进行裁剪,而不仅仅是中心.
  4. JPEG 图像可以本地调整大小.这避免了在尝试缩小图像时出现 OOMing 的问题.

还有很多其他的(查看我们的文档),但这些是最重要的.

There are many others (see our documentation), but these are the most important.

这篇关于Picasso v/s Imageloader v/s Fresco vs Glide vs Coil的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆