5 Star 11 Fork 3

HarmonyOS-TPC / fresco

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 917 Bytes
一键复制 编辑 原始数据 按行查看 历史
张晨 提交于 2021-08-18 02:23 . update README.md.

Fresco

Fresco is a powerful system for displaying images in OpenHarmony 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.

Fresco also supports:

  • streaming of progressive JPEGs
  • display of animated GIFs
  • extensive customization of image loading and display
  • and much more!

Requirements

Fresco can be included in any OpenHarmony application.

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 'io.openharmony.tpc.thirdlib:fresco:1.0.2'

gif support

 implementation 'io.openharmony.tpc.thirdlib:animated_gif_lite:1.0.3'
1
https://gitee.com/HarmonyOS-tpc/fresco.git
git@gitee.com:HarmonyOS-tpc/fresco.git
HarmonyOS-tpc
fresco
fresco
master

搜索帮助