A new image library for Android ?


A new image library for Android:

https://code.facebook.com/posts/366199913563917/introducing-fresco-a-new-image-library-for-android/

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

1. Images aren’t stored in the Java heap, but in the ashmem heap. Intermediate byte buffers are also stored in the native heap. This leaves a lot more memory available for applications to use. It reduces the risk of OutOfMemoryErrors. It also reduces the amount of garbage collection apps have to do, leading to better performance.

2.  Progressive JPEG images can be streamed, just like in a web browser.

3.  Images can be cropped around any point, not just the centre.

4.  JPEG images can be resized natively. This avoid the problem of OOMing while trying to downsize an image.

 

 

 

 

 

 

Advertisements