fresco README

The project's README from github.com/facebook/fresco. As one markdown file: README.md.

Fresco

Fresco Logo

Build Status License

Fresco is a powerful system for displaying images in Android applications.

Fresco takes care of image loading and display, so you don't have to. It will load images from the network, local storage, or local resources, and display a placeholder until the image has arrived. It has two levels of cache; one in memory and another in internal storage.

In Android 4.x and lower, Fresco puts images in a special region of Android memory. This lets your application run faster - and suffer the dreaded OutOfMemoryError much less often.

Fresco also supports:

Find out more at our website.

Requirements

Fresco can be included in any Android application.

Fresco supports Android 2.3 (Gingerbread) and later.

Using Fresco in your application

If you are building with Gradle, simply add the following line to the dependencies section of your build.gradle file:

implementation 'com.facebook.fresco:fresco:3.7.0'

For full details, visit the documentation on our web site, available in English and Chinese:

Join the Fresco community

Please use our issues page to let us know of any problems.

For pull requests, please see the CONTRIBUTING file for information on how to help out. See our documentation for information on how to build from source.

License

Fresco is MIT-licensed.

fresco (facebook/fresco)

Searching Database…

17.2K ·GitHub
What is this?Fresco is an Android library that handles loading and displaying images, including network, local storage, and local resource images, while managing the memory they consume.
Is it a library I add to an app, or a standalone app?It's a library you integrate into your own Android application, not a standalone app.
How do I add it to my project?Add the Fresco dependency line to the dependencies section of your build.gradle file if you're building with Gradle.
Which Android versions does it need?Fresco supports Android 2.3 (Gingerbread) and later.
Does it handle memory the same way on all Android versions?On Android 4.x and lower it uses a special memory region (ashmem) to avoid OutOfMemoryError; behavior differs on newer Android versions where this special handling isn't needed as much.
Does it support animated images?Yes, Fresco supports display of animated GIFs and WebPs, along with streaming of progressive JPEGs.
How does caching work?Fresco has two levels of cache: one in memory and another in internal storage.
Can I customize how images load and display?Yes, Fresco offers extensive customization of image loading and display.
Where can I find full documentation?Full documentation is available on the Fresco website in both English and Chinese.
Creator
facebook
Size
79.4 MB
Stars
17.2K
Age
11y
Commits · 90 Days