Android发展到现在,已经出现了很多的图片加载库,例如:imageLoder、UIL、Glide、Picasso、fresco、xUtils3、xUitls2等,请问广大Andorid,jva使用者在使用它们时发现它们的利弊都有哪些?对特殊的图片格式的支持如webP,svg,gif等支持会更优?
怪我咯2017-04-18 10:51:30
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.
黄舟2017-04-18 10:51:30
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.
高洛峰2017-04-18 10:51:30
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
PHP中文网2017-04-18 10:51:30
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.
迷茫2017-04-18 10:51:30
http://blog.csdn.net/github_3... Here is a detailed introduction and detailed comparison