An Android library for managing images and the memory they use.
Java C++ C Python Makefile IDL
Clone or download
oprisnik and facebook-github-bot Fixed giflite build
Summary: Changed the package name in the manifest to fix the build. They must be unique.

Reviewed By: defHLT

Differential Revision: D8932154

fbshipit-source-id: 9d7c062a9cae52d9bd1d99d8ac458d1bf14567b5
Latest commit c857ed2 Jul 20, 2018
Permalink
Failed to load latest commit information.
.github Add rules for stale bot Jul 9, 2018
.idea Update codeStyleSettings.xml Aug 2, 2017
animated-base-test Update license headers for MIT license Feb 17, 2018
animated-base Remove external bitmap creation tracking Jul 11, 2018
animated-drawable Fixed potential NPE for AnimatedDrawable2 and DrawListener May 9, 2018
animated-gif-lite Fixed giflite build Jul 20, 2018
animated-gif Fix NDK setting for ndk ver < 17 Jul 3, 2018
animated-webp Update license headers for MIT license Feb 17, 2018
bots add IssueCommands.txt for github bot, stack-overflow command Jan 12, 2017
docs Update javadoc for version 1.10.0 Jul 17, 2018
drawee-backends ImagePerf: Added on screen image dimensions for SUCCESS event Jul 17, 2018
drawee-span Update license headers for MIT license Feb 17, 2018
drawee Added E2E test for showing image in SimpleDraweeView Jul 13, 2018
fbcore Get rid of internal android Predicate Jul 2, 2018
gradle Feature/ci Apr 5, 2018
imagepipeline-backends Remove unused catch block. Mar 15, 2018
imagepipeline-base-test Fixed #2122 - PooledByteBuffer.read() doesn't return int Jun 4, 2018
imagepipeline-base Fix ./gradlew build Jul 16, 2018
imagepipeline-test Update license headers for MIT license Feb 17, 2018
imagepipeline Remove media variations 5/n - Remove implementation Jul 13, 2018
samples Added Gif Lite to Fresco Jul 17, 2018
static-webp Fix NDK setting for ndk ver < 17 Jul 3, 2018
tools/stetho Update license headers for MIT license Feb 17, 2018
.gitignore Jekyll Updates Jan 6, 2017
CONTRIBUTING.md Update to MIT license Feb 17, 2018
LICENSE Update to MIT license Feb 17, 2018
README.md Bump version number to 1.10.0 in readme and docs Jul 17, 2018
android-wait-for-emulator Feature/ci Apr 5, 2018
build.gradle Update GifLib to 5.1.4 Apr 5, 2018
circle.yml Make debug builds debuggable Jun 27, 2018
gradle.properties Updated SoLoader to 0.5.1 Jul 20, 2018
gradlew Initial commit Mar 26, 2015
gradlew.bat Initial commit Mar 26, 2015
release-bintray.gradle Update to MIT license Feb 17, 2018
release-sonatype.gradle Update to MIT license Feb 17, 2018
release.gradle Added support for Bintray upload Apr 19, 2016
release.sh New clean build script Oct 30, 2015
run_comparison.py Fix NDK settings (#2134) Jun 21, 2018
settings.gradle Added Gif Lite to Fresco Jul 17, 2018

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:

implementation 'com.facebook.fresco:fresco:1.10.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 MIT-licensed.