Android开发常用开源框架:图片处理

来源:互联网 发布:香港域名注册處 编辑:程序博客网 时间:2024/06/04 18:56

1. 图片加载,缓存,处理

框架名称 功能描述 Android Universal Image Loader 一个强大的加载,缓存,展示图片的库,已过时 Picasso 一个强大的图片下载与缓存的库 Fresco 一个用于管理图像和他们使用的内存的库 Glide 一个图片加载和缓存的库,使用的App有:网易新闻 GlidePalette Android Lollipop Palette is now easy to use with Glide PicassoPalette Android Lollipop Palette is now easy to use with Picasso ! Picasso-transformations 一个为Picasso提供多种图片变换的库 Glide-transformations 一个为Glide提供多种图片变换的库


Picasso是著名的开源组织Square出品的图片处理框架,使用的比较多

Glide是Google的员工基于Picasso开发,优化的,Android官网推荐使用的图片处理框架

Fresco是Facebook开源的图片处理框架,真正做到了三级缓存,功能强大,强烈推荐使用

Android Universal Image Loader是一个老牌的图片处理框架,但是在2015年的9月份已经停止更新维护,所以不推荐使用

2. 图片裁剪

框架名称 功能描述 uCrop Image Cropping Library for Android,使用的App有:薄荷,哔哩哔哩 android-crop 图片裁剪,使用的App有:网易新闻,芒果TV cropper 图片裁剪开源框架 Android-Image-Cropper Image Cropping Library for Android, optimized for Camera / Gallery PhotoCropper Android 大图片裁剪终极解决方案 android-cropimage CropImage Activity from Gallery.apk packaged as a reusable Android library PhotoCrop A Library which can be used to crop images in Android similar to Facebook and Telegram,使用的App有:快手

uCrop

android-crop

Android-Image-Cropper

PhotoCropper

PhotoCrop

3. 图片选择

框架名称 功能描述 MultiImageSelector 图片选择,使用的App有:薄荷 BGAPhotoPicker-Android Android 图片选择、预览、九宫格图片控件、拖拽排序九宫格图片控件 TakePhoto 轻量级Android照片处理框架 RxGalleryFinal Android图片单选/多选、拍照、裁剪、压缩。视频选择和录制。GalleryFinal boxing 一个多媒体选择器库,B站出品。可以选择一张或者多张图片,提供预览和裁剪功能。同样支持gif图,选择视频和图像压缩功能。

boxing

MultiImageSelector

BGAPhotoPicker-Android

TakePhoto

预览图
运行效果图

RxGalleryFinal

4. 图片转换,压缩,滤镜

框架名称 功能描述 Android-gpuimage 一个开源的基于GPU的图像处理库,提供各种各样的图像处理滤镜,并且支持照相机和摄像机的实时滤镜,使用的App有:快手 photoview 使用的App有:薄荷,网易新闻 circleimageview 圆形图片,使用的App有:薄荷 RoundedImageView 圆形图片,使用的App有:薄荷 SelectableRoundedImageView Android ImageView that supports different radii on each corner android-gif-drawable gif图片,使用的App有:网易新闻,快手 Luban 可能是最接近微信朋友圈的图片压缩算法 Compressor Compressor is a lightweight and powerful android image compression library

Android-gpuimage

circleimageview

RoundedImageView

SelectableRoundedImageView

)

5. 高斯模糊,毛玻璃,图片模糊

框架名称 功能描述 android-stackblur Android StackBlur is a library that can perform a blurry effect on a Bitmap based on a gradient or radius, and return the result. The library is based on the code of Mario Klingemann. Blurry Blurry is an easy blur library for Android blurkit-android The missing Android blurring library. Fast blur-behind layout that parallels iOS. BlurView Dynamic iOS-like blur of underlying Views for Android ImageBlurring Android blurring image(bitmap) by java and jni

android-stackblur

Blurry

blurkit-android

BlurView

ImageBlurring

0 0