An Android library for managing images and the memory they use.
Java C++ C Python Makefile IDL
Latest commit 468144b Jan 20, 2017 @oprisnik oprisnik committed with facebook-github-bot Added cache selector for bitmap animation debug fragment
Summary: This adds a caching strategy selector for animated images.

Reviewed By: massimocarli

Differential Revision: D4429082

fbshipit-source-id: 24bd4deee42cff14ae60dd7cb8d4cbacc3fc5176
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 Bump version number to 1.0.1 in readme and docs Jan 19, 2017
drawee-backends Allow setting a custom PipelineDraweeControllerFactory in DraweeConfig Jan 18, 2017
drawee-span Use BufferType.SPANNABLE in setText of SimpleDraweeSpanStringBuilder Jan 19, 2017
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 Added cache selector for bitmap animation debug fragment Jan 20, 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 Bump version number to 1.0.1 in readme and docs Jan 19, 2017
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 Bump version to 1.0.1 Jan 19, 2017
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.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.