Android图片框架

图片加载框架


  • PhotoView

PhotoView
Implementation of ImageView for Android that supports zooming, by various touch gestures

allprojects {
    repositories {
        maven { url "https://jitpack.io" }
    }
}


dependencies {
    implementation 'com.github.chrisbanes:PhotoView:latest.release.here'
}
  • Sketch Image Loader

Sketch 是 Android 上一款强大且全面的图片加载器,除了图片加载的必备功能外,还支持 GIF,手势缩放、分块显示超大图片、自动纠正图片方向、显示视频缩略图等功能
https://github.com/panpf/sketch

dependencies {
   compile 'me.panpf:sketch:$sketch_version'
   compile 'me.panpf:sketch-gif:$sketch_gif_version'
}
  • SelectableRoundedImageView

基于Glide的图片加载以及图像转换
https://github.com/pungrue26/SelectableRoundedImageView

dependencies {
    compile 'com.joooonho:selectableroundedimageview:1.0.1'
}
  • glide

图片加载
https://github.com/bumptech/glide

//glide:4.6.1版本使用
implementation 'com.github.bumptech.glide:glide:4.6.1'
annotationProcessor 'com.github.bumptech.glide:compiler:4.6.1'
//glide:4.2版本使用
implementation 'com.github.bumptech.glide:glide:4.2.0'
  • glide-transformations

基于Glide的图片加载以及图像转换
https://github.com/wasabeef/glide-transformations

implementation 'jp.wasabeef:glide-transformations:3.0.1'
compile'jp.wasabeef:glide-transformations:3.0.1'
implementation 'jp.co.cyberagent.android.gpuimage:gpuimage-library:1.4.1'
  • Fresco

图片加载
:https://www.jianshu.com/p/67731283788a
Fresco中文说明:http://www.fresco-cn.org/
Fresco项目GitHub地址:https://github.com/facebook/fresco

implementation 'com.facebook.fresco:fresco:1.9.0'

implementation 'com.facebook.fresco:fresco:1.8.1'
//-----
 compile 'com.facebook.fresco:fresco:0.13.0'
 compile 'com.facebook.fresco:animated-gif:0.13.0'
  • universal-image-loader

强大而灵活的库,用于在Android上加载、缓存和显示图像
https://github.com/nostra13/Android-Universal-Image-Loader

compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
  • circleimageview

圆形头像

compile 'de.hdodenhof:circleimageview:2.1.0'
  • PhotoView

图片浏览缩放控件
https://github.com/bm-x/PhotoView
Gradle添加依赖

compile 'com.bm.photoview:library:1.4.1'

你可能感兴趣的:(Android图片框架)