An Android library for managing images and the memory they use.
Java C++ C Python Makefile IDL
Latest commit fb966ff Dec 20, 2017 @8enet 8enet committed with facebook-github-bot Corrected misspelling
Summary:
I updated the code example to refer to `DataSources` properly.
Closes #1997

Reviewed By: lambdapioneer

Differential Revision: D6610704

Pulled By: dmitry-voronkevich

fbshipit-source-id: 24266ae1d14afd26508e9381d18b0e51f91b081d
Permalink
Failed to load latest commit information.
.github Update pull request template Mar 28, 2017
.idea Update codeStyleSettings.xml Aug 2, 2017
animated-base-test Fix all build.gradle files to use new deps declarations Dec 13, 2017
animated-base Fix all build.gradle files to use new deps declarations Dec 13, 2017
animated-drawable Fix all build.gradle files to use new deps declarations Dec 13, 2017
animated-gif Fix crash for GIF with different frame sizes out of image boundaries Oct 25, 2017
animated-webp Fix all build.gradle files to use new deps declarations Dec 13, 2017
bots add IssueCommands.txt for github bot, stack-overflow command Jan 12, 2017
docs Corrected misspelling Dec 20, 2017
drawee-backends Fix all build.gradle files to use new deps declarations Dec 13, 2017
drawee-span Fix all build.gradle files to use new deps declarations Dec 13, 2017
drawee Update versions Dec 13, 2017
fbcore Add support for glb/gltf-binary file/mime type to MediaUtils Dec 15, 2017
gradle Update versions Dec 13, 2017
imagepipeline-backends Fix all build.gradle files to use new deps declarations Dec 13, 2017
imagepipeline-base-test Fix all build.gradle files to use new deps declarations Dec 13, 2017
imagepipeline-base Fix all build.gradle files to use new deps declarations Dec 13, 2017
imagepipeline-test Fix all build.gradle files to use new deps declarations Dec 13, 2017
imagepipeline DefaultImageDecoder should not return null for empty streams Dec 15, 2017
samples Fix all build.gradle files to use new deps declarations Dec 13, 2017
static-webp Fix all build.gradle files to use new deps declarations Dec 13, 2017
tools/stetho Fix all build.gradle files to use new deps declarations Dec 13, 2017
.gitignore Jekyll Updates Jan 6, 2017
CONTRIBUTING.md Add a bit more info on getting started contributing to Fresco Apr 3, 2017
LICENSE Initial commit Mar 26, 2015
PATENTS Update Patent Grant Apr 15, 2015
README.md update version to 1.7.1 in README.md and docs/_config.yml Dec 19, 2017
build.gradle Update versions Dec 13, 2017
circle.yml Update versions Dec 13, 2017
gradle.properties bump version to 1.7.1 Dec 19, 2017
gradlew Initial commit Mar 26, 2015
gradlew.bat Initial commit Mar 26, 2015
proguard-fresco.pro Updated Fresco proguard config Mar 21, 2017
release-bintray.gradle Added support for Bintray upload Apr 19, 2016
release-sonatype.gradle Update versions Dec 13, 2017
release.gradle Added support for Bintray upload Apr 19, 2016
release.sh New clean build script Oct 30, 2015
run_comparison.py enable aquery run in comparison script Mar 31, 2016
settings.gradle Removed transition sample app Jul 12, 2017

README.md

Fresco

Build Status

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:

  • streaming of progressive JPEGs
  • display of animated GIFs and WebPs
  • extensive customization of image loading and display
  • and much more!

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:

compile 'com.facebook.fresco:fresco:1.7.1'

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

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 how to build from source.

License

Fresco is BSD-licensed. We also provide an additional patent grant.