java - Android图片加载库的选择问题?
怪我咯
怪我咯 2017-04-18 10:49:30
0
6
831

Android发展到现在,已经出现了很多的图片加载库,例如:imageLoder、UIL、Glide、Picasso、fresco、xUtils3、xUitls2等,请问广大Andorid,jva使用者在使用它们时发现它们的利弊都有哪些?对特殊的图片格式的支持如webP,svg,gif等支持会更优?

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all(6)
刘奇

The pros and cons depend on the requirements. Each framework has its own characteristics, advantages and disadvantages. Different usage scenarios will bring different pros and cons. It is not easy to generalize. The frameworks you mentioned are all excellent image processing frameworks. In terms of overall performance, Glide > Fresco > Picasso > UIL > xUtils, imageLoader? I don’t know which one you are talking about, it’s roughly the same.

黄舟

I have used Fresco, Picasso, and Glide in my projects.
Since I needed to support Gif later, I excluded Picasso.
Passed the test: When loading the same number of Gifs, Fresco uses one-third of the CPU of Glide. So I chose Fresco. But what the questioner uses depends on the needs.

小葫芦

fresco’s scalability and completeness of functional support should be the strongest, followed by UIL, which has many parameter configurations

If the requirements are not so many, other libraries except Fresco can generally be solved with one or two lines of code (using the default configuration)

Each library has its own advantages

picasso is characterized by easy and smooth loading, while glide is better optimized and supports gif

fresco and UIL are powerful and meet various needs, but UIL has stopped updating, so some bugs need to be solved by yourself

xUtils is not a dedicated image library, so it is suitable for simple needs, and performance and other aspects are not as good as dedicated libraries

洪涛

Use Fresco to pass by

Ty80

I have used all those libraries, and then I used Fresco, and I have been using Fresco ever since. The configuration is complex, but the function is powerful and the performance is superior.

迷茫

http://blog.csdn.net/github_3... Here is a detailed introduction and detailed comparison

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template