Skip to content
An Android library for managing images and the memory they use.
Java C++ C Makefile Python Kotlin
Branch: master
Clone or download
oprisnik and facebook-github-bot Showcase: Updated Vito sample titles to indicate whether it's View or…
… Litho-based

Summary: This makes it easier to see if an example is backed by Litho or Views.

Reviewed By: wizh

Differential Revision: D20030349

fbshipit-source-id: 94d7209ed77ceedbf94d3d379b462fce14ffdf82
Latest commit 1da5cda Feb 21, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Removing the line that copies the Instrumentation tests results since… Nov 7, 2019
.github Official Gradle Wrapper Validation GitHub Action (#2457) Jan 16, 2020
.idea/codeStyles Re-add codeStyleSettings Aug 21, 2018
animated-base-test Migrate to Robolectric 4.1 Feb 13, 2020
animated-base Some more fixes for Robolectric 4 Feb 13, 2020
animated-drawable Use buildsrc for annotations Jan 27, 2020
animated-gif-lite Use buildSrc for dependencies Jan 27, 2020
animated-gif Make DataWrapper for GIFs abstract Feb 15, 2020
animated-webp Pass ImageDecodeOptions directly into AnimatedImageDecoder Feb 11, 2020
bots add IssueCommands.txt for github bot, stack-overflow command Jan 12, 2017
buildSrc Bump SoLoader version Feb 18, 2020
docs Update caching documentation Feb 13, 2020
drawee-backends Update SoLoader to v0.8.1 Jan 29, 2020
drawee-span Use buildSrc for dependencies Jan 27, 2020
drawee Allow null focus points for ScaleTypeDrawable Feb 17, 2020
fbcore Migrate to Robolectric 4.1 Feb 13, 2020
gradle Update Gradle wrapper to include sources Feb 3, 2020
imagepipeline-backends Use buildSrc for dependencies Jan 27, 2020
imagepipeline-base-test Update SoLoader to v0.8.1 Jan 29, 2020
imagepipeline-base Add and pass extra options to control Gif decoding behaviour Feb 11, 2020
imagepipeline-native Update SoLoader to v0.8.1 Jan 29, 2020
imagepipeline-test Use buildsrc for annotations Jan 27, 2020
imagepipeline getExtraMap() contains the size of the low/hi queues at the time the … Feb 14, 2020
memory-types Update SoLoader to v0.8.1 Jan 29, 2020
native-filters Update SoLoader to v0.8.1 Jan 29, 2020
native-imagetranscoder Update SoLoader to v0.8.1 Jan 29, 2020
samples Showcase: Updated Vito sample titles to indicate whether it's View or… Feb 21, 2020
soloader Update SoLoader to v0.8.1 Jan 29, 2020
static-webp Update SoLoader to v0.8.1 Jan 29, 2020
tools Migrate Stetho deps to use buildSrc Feb 10, 2020
ui-common Removed unnecessary version name and group definitions from Gradle files Nov 12, 2019
vito VitoView: Added an interface and concrete implementation Feb 20, 2020
.gitignore Jekyll Updates Jan 6, 2017
CODE_OF_CONDUCT.md Adopt Contributor Covenant Aug 30, 2019
CONTRIBUTING.md Update to MIT license Feb 17, 2018
LICENSE Update copyright headers to yearless format Sep 11, 2018
README.md Bump version number to 2.1.0 in readme and docs Jan 30, 2020
build.gradle Update Litho version and use buildSrc Feb 18, 2020
gradle.properties Migrate to Robolectric 4.1 Feb 13, 2020
gradlew Updated Gradle Wrapper to version 5.6.4 and Android Gradle plugin to … Jan 16, 2020
gradlew.bat Updated Gradle Wrapper to version 5.6.4 and Android Gradle plugin to … Jan 16, 2020
release-bintray.gradle Tidy up license headers Oct 24, 2019
release-sonatype.gradle Tidy up license headers Oct 24, 2019
release.gradle Tidy up license headers Oct 24, 2019
run_comparison.py Tidy up Fresco license headers Oct 4, 2019
settings.gradle Add Vito Kotlin extensions and sample Nov 12, 2019

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

License

Fresco is MIT-licensed.

You can’t perform that action at this time.