https://blog.csdn.net/SGQ_CSDN/article/details/79910709
Android開發常用開源框架:圖片處理
框架名稱 | 功能描述 |
---|---|
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