Fresco’s image pipeline will load images from the network, local storage, or local resources. To save data and CPU, it has three levels of cache; two in memory and another in internal storage. Fresco’s Drawee shows a placeholder for you until the image has loaded and then automatically shows the image when it arrives. When the image goes off-screen, it automatically releases its memory. A decompressed image - an Android Bitmap - takes up a lot of memory. This leads to more frequent runs of the Java garbage collector. This slows apps down. The problem is especially bad without the improvements to the garbage collector made in Android 5.0. On Android 4.x and lower, Fresco puts images in a special region of Android memory. It also makes sure that images are automatically released from memory when they’re no longer shown on screen. This lets your application run faster - and suffer fewer crashes.

Features

  • Specify several different uris for an image, and choose the one already in cache for display
  • Show a low-resolution image first and swap to a higher-res one when it arrives
  • Send events back into your app when the image arrives
  • If the image has an EXIF thumbnail, show it first until the full image loads (local images only)
  • Resize or rotate the image and modify the downloaded image in-place
  • Decode WebP images, even on older versions of Android that don’t fully support them

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Fresco

Fresco Web Site

nel_h2
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Fresco!

Additional Project Details

Operating Systems

Android

Programming Language

Java

Related Categories

Java Photo Management Software, Java Libraries

Registered

2021-03-17