An Android library for managing images and the memory they use.
Java C++ C Python Makefile IDL
Latest commit 39417a2 Jan 19, 2017 @oprisnik oprisnik committed with facebook-github-bot Animations v2: Added frame cache listener
Summary: Listening to frame caching events can be useful for debugging.

Reviewed By: lambdapioneer

Differential Revision: D4428944

fbshipit-source-id: ca7e61b059708385490c516f08bc2d67d4546ba8
Permalink
Failed to load latest commit information.
.idea Clean up DecodeFileDescriptorExperiment Dec 14, 2016
animated-base-support Update compile target, build tools and support to 24.x and clean up Sep 20, 2016
animated-base-test Update compile target, build tools and support to 24.x and clean up Sep 20, 2016
animated-base Added package-info.java files for javadoc packages Dec 14, 2016
animated-drawable Animations v2: Added frame cache listener Jan 19, 2017
animated-gif allclean task moved to common file Dec 13, 2016
animated-webp Update compile target, build tools and support to 24.x and clean up Sep 20, 2016
bots add IssueCommands.txt for github bot, stack-overflow command Jan 12, 2017
docs Add GigTown in the apps using Fresco Jan 9, 2017
drawee-backends Allow setting a custom PipelineDraweeControllerFactory in DraweeConfig Jan 18, 2017
drawee-span Open source Drawee span tests Dec 15, 2016
drawee Make ProgressBarDrawable implement CloneableDrawable Jan 11, 2017
fbcore Provide canonical way to create ImageRequest for local files Jan 10, 2017
gradle Upgrade Bintray Gradle plugin to 1.7.1 Sep 30, 2016
imagepipeline-backends Added package-info.java files for javadoc packages Dec 14, 2016
imagepipeline-base-test Update compile target, build tools and support to 24.x and clean up Sep 20, 2016
imagepipeline-base Immutable objects instance replication removed Jan 12, 2017
imagepipeline-test Update compile target, build tools and support to 24.x and clean up Sep 20, 2016
imagepipeline Fix LocalFileFetchToEncodedMemoryPrefetchSequence Jan 18, 2017
samples Animations v2: Added simple bitmap example Jan 17, 2017
static-webp LibWebp upgraded to 0.5.2 on gradle Jan 18, 2017
tools/stetho Track bitmap created by PlatformBitmapFactory directly Aug 30, 2016
.gitignore Jekyll Updates Jan 6, 2017
CONTRIBUTING.md Update contributor guidelines May 14, 2015
LICENSE Initial commit Mar 26, 2015
PATENTS Update Patent Grant Apr 15, 2015
README.md Change version from 1.0 to 1.0.0 Dec 18, 2016
build.gradle LibWebp upgraded to 0.5.2 on gradle Jan 18, 2017
circle.yml Remove references in docs to gh-pages Dec 13, 2016
gradle.properties Change version from 1.0 to 1.0.0 Dec 18, 2016
gradlew Initial commit Mar 26, 2015
gradlew.bat Initial commit Mar 26, 2015
proguard-fresco.pro Update proguard-fresco.pro Oct 5, 2016
release-bintray.gradle Added support for Bintray upload Apr 19, 2016
release-sonatype.gradle Added support for Bintray upload Apr 19, 2016
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 Moved custom decoder color XML example to the Showcase app and delete… Jan 9, 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.0.0'

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.